close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Problem with Initial Value on form Fields when page returns validation error

Thread began 11/30/2010 5:22 pm by weaston269015 | Last modified 1/25/2011 6:37 pm by weaston269015 | 3248 views | 19 replies


Problem with Initial Value on form Fields when page returns validation error


I am using the Form Toolkit and Universal E-mail 4 in DW CS5, although this seems to be a problem just with the Form Toolkit. I have added initial values to all the form fields on my webform to be dynamic using the form field. This is some example code:

<input name="realname" type="text" class="text" id="realname" value="<?php echo((isset($_POST["realname"]))?$_POST["realname"]:"") ?>" size="30" />

Works fine until I add the form validation for a couple fields and a captcha. The show if works fine but the problem is the the posted data doesn't show up in the fields after a submission with a validation problem (missing data or captcha failure).

Any idea what the problem is? Is it a bug or something I'm doing wrong? I've made sure the WA Server Validations Failed redirect is set to the same page. I've even tried leaving this blank and doesn't seem to make any difference.



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





Ease of use


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...