View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

user registration required?

Thread began 1/08/2010 6:08 pm by stuff223820 | Last modified 1/11/2010 8:26 pm by stuff223820 | 1411 views | 4 replies

Eric Mittman

You can remove the requirements to login completely but the records that are created as a result will not be able to be associated with a user.

To remove the login requirements you will need to work on the checkout, confirm and pp_confirm page. What you will need to do is remove the validations for the password. You will need to remove the server validations as well as the spry validations for this.

On the checkout page you will need to remove the spry validations, these are controlled with these lines of code:

var sprypassword1 = new Spry.Widget.ValidationPassword("sprypassword1", {validateOn:["blur"], minAlphaChars:1, minNumbers:1, minChars:6});
var spryconfirm1 = new Spry.Widget.ValidationConfirm("spryconfirm1", "UserPassword2", {validateOn:["blur"]});



Next on the confirm page you will need to remove the server validations. Here is the code to remove for the server validations:

php:
$WAFV_Errors .= WAValidateRX(((isset($_POST["UserPassword"]))?$_POST["UserPassword"]:"") . "","/[a-z,A-Z]/",true,5);

  $WAFV_Errors .= WAValidateLE(((isset($_POST["UserPassword"]))?$_POST["UserPassword"]:"") . "",((isset($_POST["UserPassword2"]))?$_POST["UserPassword2"]:"") . "",false,6);



Finally on the pp_confirm page you will need to remove both spry and server side validations. Here is the spry to remove from the pp_confirm page:

var sprypassword1 = new Spry.Widget.ValidationPassword("sprypassword1", {validateOn:["blur"], minAlphaChars:1, minNumbers:1, minChars:6});
var spryconfirm1 = new Spry.Widget.ValidationConfirm("spryconfirm1", "UserPassword2", {validateOn:["blur"]});



Here is the code to remove for the server validations:

php:
$WAFV_Errors .= WAValidateEL(((isset($_POST["UserPassword"]))?$_POST["UserPassword"]:"") . "",6,50,true,3);

  $WAFV_Errors .= WAValidateRX(((isset($_POST["UserPassword"]))?$_POST["UserPassword"]:"") . "","/[0-9]/",true,4);
  $WAFV_Errors .= WAValidateRX(((isset($_POST["UserPassword"]))?$_POST["UserPassword"]:"") . "","/[a-z,A-Z]/",true,5);
  $WAFV_Errors .= WAValidateLE(((isset($_POST["UserPassword"]))?$_POST["UserPassword"]:"") . "",((isset($_POST["UserPassword2"]))?$_POST["UserPassword2"]:"") . "",false,6);



This will allow a user to go through the checkout without logging in or creating a new user.

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