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

rating

Registration Form...confirm e-mail checking and validation question.

Thread began 4/01/2014 12:24 pm by Nathon Jones Web Design | Last modified 4/01/2014 1:51 pm by Jason Byrnes | 244 views | 5 replies |

Nathon Jones Web Design

Registration Form...confirm e-mail checking and validation question.

We're manually creating a registration form that submits to database and we want to add a "Confirm E-mail" validation.
Having never done that before. is this accessed via the jQuery Validation option?
Thank you.
NJ

Sign in to reply to this post

Jason ByrnesWebAssist

no, this is done using server validation and the Like entry validation option.

Sign in to reply to this post

Nathon Jones Web Design

So the form needs to submit to another page that has the server validation behaviour?

Sorry, can I also ask about creating a verification code? When a user submits the form, I have UserEmailVerified in our user table set to "no".
So, it saves to database and I need it to also e-mail out to the e-mail address entered with a link to a page on our website that runs an UPDATE on the database table to change UserEmailVerified to "yes". UserEmailVerified is just a tinyint field, 1 for yes, 2 for no.

How do I generate a verification code though? I have a field called UserVerificationCode in our user table.

Thanks man.
NJ

Sign in to reply to this post

Jason ByrnesWebAssist

server validation goes on whichever page the form posts to.

it can post to itself, this is the easiest, or you can set it to post to another page, either way, all form processing happens on the forms action page, including validation.


see the double opt in tutorial for your second question:
http://www.webassist.com/tutorials/Double-opt-in-registration

Sign in to reply to this post

Nathon Jones Web Design

Will that work if the form is an INSERT form? I assume the server validation will take place before the INSERT?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, server validation will work with any type of form as long as the server validation code block comes before the insert / update or other behaviors code block.

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