close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Edititng form fields and validated entries

Thread began 5/19/2009 2:35 pm by alejandro39255 | Last modified 5/19/2009 9:55 pm by alejandro39255 | 2485 views | 2 replies |

alejandro39255

Edititng form fields and validated entries

Hi:

I have a form with many fields that I'm filling out using a recordset, the problem I'm having with the validation toolkit is that when I use the validated entries for the initial values of my fields and run the page my data is lost, I have to type all over again for the validation toolkit save the values.

Any help would be much appreciated.

Sign in to reply to this post

Ray BorduinWebAssist

Pass a url parameter in your failed redirect for your server validations like: pagename?valid=false

Then for your initial value instead of setting it to: <?php echo(ValidatedField("page","field")); ?>

set it to something like:
<?php echo(isset($_GET['valid'])?ValidatedField("page","field"):"yourdefault"); ?>

This way if the page was just validated and failed it shows the validated value as you want, but if not, the url parameter is not there and it shows the default value instead.

Sign in to reply to this post
Did this help? Tips are appreciated...

alejandro39255

Thanks Ray I'll try that and let you know the outcome.

thank you for your time.

Alejandro

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