close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Form Validation Failing to re-populate user form data

Thread began 3/04/2012 10:10 am by Paul | Last modified 4/02/2012 2:13 pm by Paul | 1137 views | 13 replies

PaulBeta Tester

Jason,

I have not been around to respond to my ticket.
Please see attached screen grab of server behaviour for my form checkbox.

When viewing the server behaviour form, the code for this element seems to have split itself across the 'Check If' and 'Equal to' fields'.

My steps;

1. Select 'New Server Behaviour > Webassist > Validation

2. Set validation type; Required

3. Validation variable; ((isset($_POST["AcceptTerms"]))?$_POST["AcceptTerms"]:"")

4. Select the text associated with checkbox to apply my server behaviour to

5. Select Server Behaviour > Webassist > Validation > Validation Show If

6. Select Validation Fail; as created in 3, click OK

7. Double click the server behaviour for 'Dynamic Checkbox'

8. Form opens to reveal the code captured in attached image

9. With form open, I reapply the Validated item <?php echo(ValidatedField("newreg_501","AcceptTerms")) ?> from the dynamic data list.

10. Remove the code <?php "AcceptTerms")),1 ?> and replace with a '1' in the 'Equal To' field.

11. Click OK

12. Save page

13. Reopen the checkboxes server behaviour again.

14. Changes were not made.

I'm assuming this is not expected behaviour. I have no ideas if this is causing my initial issue.

Paul

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