close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Registation Form for the international market

Thread began 8/05/2009 3:50 am by info374606 | Last modified 10/15/2009 2:26 pm by info374606 | 6499 views | 11 replies

Eric Mittman

I will try to give some more specific steps to remove the validations. I'm using the four you mentioned.

phone
remove the server validation

php:
$WAFV_Errors .= WAValidatePN(((isset($_POST["UserPhone"]))?$_POST["UserPhone"]:"") . "",false,true,true,13);


then remove this spry validation

var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "none", {validateOn:["blur"], minChars:7, maxChars:20});


then the onblur event for this form element

fax
remove this server validation

php:
$WAFV_Errors .= WAValidatePN(((isset($_POST["UserFax"]))?$_POST["UserFax"]:"") . "",false,true,false,14);


remove this spry validation code

var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none", {isRequired:false, minChars:7, maxChars:20, validateOn:["blur"]});


then remove the onblur event from the form element

state
remove this server validation

php:
$WAFV_Errors .= WAValidateRQ(((isset($_POST["UserState"]))?$_POST["UserState"]:"") . "",false,17);


remove this spry validation

var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {validateOn:["blur", "change"]});


then remove the onblur event from this form element

zip
remove this server validation

php:
$WAFV_Errors .= WAValidateZC(((isset($_POST["UserZip"]))?$_POST["UserZip"]:"") . "",true,true,true,true,true,18);


remove this spry validation

var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8", "none", {validateOn:["blur"], minChars:5, maxChars:10});


then remove the onblur event from the element

You can remove the server validations and regular client validations that are applied to the form with the validation toolkit or the new CSS Form Builder. For the server validations you would edit the server validations server behavior, find the validations in the list and remove the ones you do not want. For the non spry client validations that are applied you can just select the form element and in the behaviors tab of the tag panel select the validation and remove it.

To remove the spry validations you can select the form element and see it's spry validation tag, then go down into the spry script code and remove the line for that spry field.

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