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


Contact Form Re-enter Email address

Thread began 11/06/2009 10:13 am by rog4679 | Last modified 3/17/2016 3:04 pm by anonymous | 7070 views | 6 replies |


Contact Form Re-enter Email address

I created a new PHP and inserted a 'contact' form using css form builder. The email address field and re-enter email address field are supposed to match.

Why does the form validate email address entries that don't match?

There are no recordsets in either bindings or server behaviors. I'm not trying to check form entries against my database.

My contact form-
re-enter email
submit button

Sign in to reply to this post


wrong error message

In addition to the error for email addresses validation without match, I'm getting a wrong error message in the email address fields.

If I type in a value that is not the same as the email it gives me the error message that a value is required and if it has no value it says that the email addresses do not match.

I've reviewed my code and don't see the difference -

<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup"> <span id="Contact_me_group_Re_enter_your_email_address_Spry">
<input id="Contact_me_group_Re_enter_your_email_address" name="Contact_me_group_Re_enter_your_email_address" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("visitorsnewLogin","Contact_me_group_Re_enter_your_email_address"):"")); ?>" class="formTextfield_Large" tabindex="4" onblur="hideServerError('Contact_me_group_Re_enter_your_email_address_ServerError');"/>
<span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldRequiredMsg">The email address entered doesn't match</span> </span>
if (ValidatedField('visitorsnewLogin','visitorsnewLogin')) {
if ((strpos((",".ValidatedField("visitorsnewLogin","visitorsnewLogin").","), "," . "3" . ",") !== false || "3" == "")) {
if (!(false)) {
<span class="serverInvalidState" id="Contact_me_group_Re_enter_your_email_address_ServerError">The email address entered doesn't match</span>
<?php //WAFV_Conditional visitors_newLogin.php visitorsnewLogin(3:)

Sign in to reply to this post

Jimmy Wu

Do you have a page where I can see this behavior happening?

How are you applying the validation that checks if the emails are the same?

Sign in to reply to this post


Bug in the code generated by Form Builder?

Hello -

I've attached the page. All the code was generated in form builder. I purposely generated a document entirely with the webassist extension.


Also, as a side note. No matter how I build a form, Universal email won't send the document due to excess spam in the mail function.!

FROM ENOM - we don't support the Mail() function due to excessive spam. Request an alternative mail function.

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

CSS Form Builder does not offer the ability to add Like Entry validation to text fields that you create in your form, you need to add this after the form is created.

This is because in addition to adding the server side validation, it is adding Client side Spry validatin that does not offer a like entry option.

To add Like Entry validation:

double click the Server Validation server behavior.

From the Validation type list, select Like Entry.

Click the Lightning bolt next to server variable and select the email address form element. Click the plus button, in the next screen, select the re enter email address form element.

As for the message from Enom, this instance of Universal Email uses the Mail mail object, use Pear Mail for SMTP instead as I stated in your other thread.

Sign in to reply to this post


This post has been deleted.


This post has been deleted.

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