Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Email/password validation

Explorer ,
Jun 14, 2012 Jun 14, 2012

Copy link to clipboard

Copied

I've got several books on Dreamweaver, yet I can't seem to find an explanation for this.  All I want to do is validate that the user's password and email match in an account creation form.  All I can find is how to do it with spry, but I figure there has to be a simpler way of doing this common thing.  I'm using Dreamweaver CS4 and coldfusion 8.

thanks,

Mike

TOPICS
Server side applications

Views

506
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 14, 2012 Jun 14, 2012

Copy link to clipboard

Copied

LATEST

I'm not sure how much simpler than Spry you will find, since that is auto generated by DW. If you want to also do server side validation (and you always should) then you need to code by hand as DW does not handle this. It's very simple, but I don't know CF so can't provide you with specific code. You simply need an IF statement that compares the two fields and branches to the database insert statement if they match, or displays an error if they don't. If you are not familiar with branching and comparison operators, then any book (or web resource) on CF should be consulted. If you want to code by hand, you need to have some basic programming skills.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines