close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validation / Required Fields Adjustment Needed

Thread began 11/23/2010 8:37 am by bspano418229 | Last modified 11/23/2010 1:15 pm by Jason Byrnes | 1680 views | 3 replies |

bspano418229

Validation / Required Fields Adjustment Needed

I need to remove all validation on the user_Registration.php file to be only the First Name, Last Name, Email and Phone. How can I accomplish this?

Thanks
Bryan

Sign in to reply to this post

Jason ByrnesWebAssist

remove lines 874 - 881:

var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none", {validateOn:["blur"], isRequired:false, minChars:7, maxChars:20});
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6", "none", {validateOn:["blur"]});
var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7", "none", {validateOn:["blur"]});
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {validateOn:["blur", "change"]});
var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8", "none", {validateOn:["blur"], minChars:5, maxChars:10});
var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {validateOn:["blur", "change"]});
var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9", "none", {minChars:5, maxChars:5, validateOn:["blur"]});
var sprytextfield10 = new Spry.Widget.ValidationTextField("sprytextfield10", "none", {validateOn:["blur"]});




lines 77 - 71:

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

  $WAFV_Errors .= WAValidateRQ(((isset($_POST["UserAddress"]))?$_POST["UserAddress"]:"") . "",true,15);
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["UserCity"]))?$_POST["UserCity"]:"") . "",true,16);
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["UserState"]))?$_POST["UserState"]:"") . "",false,17);
  $WAFV_Errors .= WAValidateZC(((isset($_POST["UserZip"]))?$_POST["UserZip"]:"") . "",true,true,true,true,true,18);
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["UserCountry"]))?$_POST["UserCountry"]:"") . "",true,19);



lines 64 - 67:

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

  $WAFV_Errors .= WAValidateRQ(((isset($_POST["UserAddress"]))?$_POST["UserAddress"]:"") . "",true,15);
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["UserCity"]))?$_POST["UserCity"]:"") . "",true,16);
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["UserState"]))?$_POST["UserState"]:"") . "",false,17);
  $WAFV_Errors .= WAValidateZC(((isset($_POST["UserZip"]))?$_POST["UserZip"]:"") . "",true,true,true,true,true,18);
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["UserCountry"]))?$_POST["UserCountry"]:"") . "",true,19);
Sign in to reply to this post

bspano418229

Huge help - thank you!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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