close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error messages

Thread began 8/12/2009 11:53 am by Remco209061 | Last modified 8/13/2009 2:10 pm by Jason Byrnes | 1810 views | 3 replies |

Remco209061

Error messages

Hello,

Is it possible to use the Digital File Pro error messages in an DataAssist form? I have an form in DA with a FileUpload in DFP. The problem is when I upload a wrong extention, the Detail page shows without the error message.

grts Remco

Sign in to reply to this post

Jason ByrnesWebAssist

See the "Customizing Digital File Pro Error Messages" tutorial on the How to section of the Digital File pro support page:
digital-file-pro/

Sign in to reply to this post

Remco209061

HaHa

Hello Jason, I did but the message is not visible because the browser move's to the detail page. Is it possible to move the message to the detail page? for example when the upload is succefull.

I use the server validation for the other fields but the Upload status codes and error messages don't work.

Attached Files
speed_Insert.txt
Sign in to reply to this post

Jason ByrnesWebAssist

store the error message in a session variable. Add the following code just before the Insert:

php:
<?php
if(!session_id()) session_start();
if(
$_SERVER["REQUEST_METHOD"] == "POST"){
  
$_SESSION['dfpError'] = $WA_DFP_UploadStatus["WA_UploadResult1"]["errorMessage"]; 
}
?>




On the page add this to show the error:

php:
<?php echo(isset($_SESSION['dfpError'])?$_SESSION['dfpError']:""); ?>
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...