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

rating

Verify one field to another

Thread began 11/17/2010 1:44 pm by dave378160 | Last modified 12/20/2011 12:03 pm by Jason Byrnes | 1334 views | 5 replies |

dave378160

Verify one field to another

What I'm trying to accomplish is when someone fills out their e-mail address in the form on my site, I want them to fill out their e-mail address again and have it verify against the previous form field. I get a few form e-mails where people have filled out their e-mail address incorrectly. Is this a function in CSS Form Builder that I'm missing?

Sign in to reply to this post

Jason ByrnesWebAssist

the wizard will not do this for you, but if you add two email address form elements to the form, you can change this after the form is created.

Once you have created the form, go to the server behaviors panel and double click the Server Validations server behavior. Select the Like entry validation type. Click the lightning bolt next to server variable and select the first email address form element. then click the plus button to add it to the list of validations. This will prompt you to select the comparison, click the lightning bolt again and select the second email address form element.

Sign in to reply to this post

fxs430566

Matching emails

Hi, I am following your instructions but can't get the message "emails must match" to appear. The form will not go through if the emails are mismatched but how is the user going to know what's wrong if he sees no err msg? Thanks!

Sign in to reply to this post

Dani Chankhour

Once you have added the Server Side Validation, you will need to use the Show If Sever Behavior.

The following link include a tutorial on how to accomplish a similar validation with an error message:

validation_changing_styles.php

Sign in to reply to this post

fxs430566

Validation tutorial unclear

In the Add the Show If Behavior section step 1.

1.Next to the text field enter Your entry was invalid.
This will be the error message that appears and can be whatever you would like.

What text field is it refering to and where is it?

Sign in to reply to this post

Jason ByrnesWebAssist

"What text field is it refering to"
Whichever text field you want to show the error message for



"and where is it?"
The text field is part of your form

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