close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Way to insert and edit

Thread began 4/11/2012 5:33 pm by h150477 | Last modified 5/07/2012 9:46 am by h150477 | 1199 views | 11 replies

Jason ByrnesWebAssist

you say:

  However, the fields need to be bound to the Webassist validation variables so that if a field does not validate, the data is re-displayed.  




the WebAssist validation variables you refer to come from the Server Validation Server Behavior.

In the Server Behaviors panel, you should have a server behavior named Server Validation

  First of all, what is meant by

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



In the server validation server behavior, there is a setting for Failed redirect. set this to redirect to the same page, and pass a query string variable, so if the name of the page is:
updatePage.php

set the failed redirect to:

updatePage.php?valid=false

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

How do I translate this for my field value?
I can see that "yourdefault" could be "$row_eventset['club_organiser']"  



this would be:

php:
<?php echo(isset($_GET['valid'])?ValidatedField("page","field"):$row_eventset['club_organiser']); ?>




the validated entries code for your page will be generated from the bindings panel.

Go to the bindings panel, and expand the validated entries collection, then add a validated entries binding to your page, this will show the correct validated entries code for your page as a starting point.

If you are unsure of how to modify that code for the desired result, post it hear and i will be happy to help.

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