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


CSS Form Builder Validation Email Address

Thread began 7/07/2010 10:49 am by karen.marley367377 | Last modified 7/07/2010 11:28 am by tone397472 | 1043 views | 1 replies |


CSS Form Builder Validation Email Address

I have two test php forms. The first has validation rules applied to all except the email address field.
Form-Contacttest4.php and works fine.

The second, where I have applied validation for the email field shows a black page

I applied all validations through CSS Form Builder.

All help would be appreciated!

Sign in to reply to this post


Hi, It's also the mobile phone field! Look in to your code. Copy the validation code from an other field (that works) to the mobile phone and Email field. Don't forget to add two lines of code at the bottom of your page. Be very precise because it will not work with only a little error! Also keep an eye on the settings on the bottom code lines.
If you need further help, no problem!

This is one of your fields with proper validation:

<label for="First_Name" class="sublabel" > First_Name<span class="requiredIndicator">&nbsp;*</span></label>
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup"> <span id="First_Name_Spry">
<input id="First_Name" name="First_Name" type="text" value="" class="formTextfield_Medium" tabindex="2" />
<span class="textfieldRequiredMsg">Please enter a value</span> </span> </div>

The fields with no validation in your code:

<label for="Mobile_Number" class="sublabel" > Mobile_Number</label>
<div class="fieldPair">
<div class="fieldGroup">
<input id="Mobile_Number" name="Mobile_Number" type="text" value="" class="formTextfield_Medium" tabindex="7" />

<div class="lineGroup">
<div class="fullColumnGroup">
<label for="email" class="sublabel" > Email Address *</label>
<div class="fieldPair">
<div class="fieldGroup">
<input id="email" name="email" type="text" value="" class="formTextfield_Medium" tabindex="8" />

This is the bottom code on your page:

var Enquiry_Spry = new Spry.Widget.ValidationSelect("Enquiry_Spry",{validateOn:["blur"]});
var Find_Us_Spry = new Spry.Widget.ValidationSelect("Find_Us_Spry",{validateOn:["blur"]});
var fieldset_group_Security_code_Spry = new Spry.Widget.ValidationTextField("fieldset_group_Security_code_Spry", "none",{validateOn:["blur"]});
var fieldset_group_nbsp_Spry = new Spry.Widget.ValidationTextField("fieldset_group_nbsp_Spry", "none",{validateOn:["blur"]});

var First_Name_Spry = new Spry.Widget.ValidationTextField("First_Name_Spry", "none",{validateOn:["blur"]});
var Last_Name_Spry = new Spry.Widget.ValidationTextField("Last_Name_Spry", "none",{validateOn:["blur"]});
var Address_Spry = new Spry.Widget.ValidationTextarea("Address_Spry",{validateOn:["blur"]});
var Post_Code_Spry = new Spry.Widget.ValidationTextField("Post_Code_Spry", "none",{validateOn:["blur"]});
var Daytime_Number_Spry = new Spry.Widget.ValidationTextField("Daytime_Number_Spry", "none",{validateOn:["blur"]});
var Additional_Info_Spry = new Spry.Widget.ValidationTextarea("Additional_Info_Spry",{validateOn:["blur"]});//-->

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





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