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

Not able to access validated entries...

Thread began 8/22/2014 5:22 am by Banksie | Last modified 9/02/2014 12:17 pm by Banksie | 1227 views | 17 replies


Hi Jason,

Thanks for all of your help the other day. I'm now amending my processes to have validation take place on the same page as the original form and, in the main, it's working fine.

However - I have a registration process that involves:
1. validation of form entries. then, if validation passes:
2. checking for a duplicate record (generate a recordset - checkDuplicates - based on email address). Then, if validation passed and no duplicate records:
3. insert the new record into the database. Then,
4.send a confirmation email back to the user as well as an email to the site admin to advise of a new record added

I can successfully trigger the final, insert record behavior based on whether the checkDuplicates recordset is empty or not but NOT on the passing of the validation process so, if the email field from the registration form is correct (a valid email address) but there are errors in other fields that get caught by the validation process, the insert record behavior still triggers and inserts data even though the validation process has bounced the user back to the original form with errors noted for correction. This could (and does!) result in multiple entries.

Whilst I could hand code an big IF statement to say that if the checkDuplicates record is empty and each of the form fields are not empty, THEN insert the new record but it would be far easier to trigger the insert record behavior if validation is successful. Am I missing something here - as that option doesn't seem to be available.

I used to handle this process successfully in a multi-stage process prior to having the recent issues with Win 8, DWCS4 and the WA extensions that we managed to solve the other day - but now, as Form Validation wont allow me to access the validated entries across to a second page, I'm having to run things as above.

Any thoughts?

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