close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Upgrading old User Reg system to WA version

Thread began 3/19/2010 10:11 pm by zanimul379168 | Last modified 3/22/2010 1:10 pm by Jason Byrnes | 816 views | 1 replies |


Upgrading old User Reg system to WA version

I managed to get the data from a .asp MS Access driven user registration system ported over to the WA User Reg pack. At first I thought I had it nailed, until one user tried to login and he had used a password that did not fit the Spry requirements. So, I'm not sure what options I have at this point - reset all users passwords to a compliant one and inform them of the change? Or is there a better way?


Sign in to reply to this post

Jason ByrnesWebAssist

you can change the spry validation requirements by editing the following code on the login page:

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

minChars:6 - setts the minimum passsword length to 6 characters
minAlphaChars:1 - sets the password to require at least one letter
minNumbers:1 - sets the password to require at least one number

you can change these settings to fit the existing passwords.

You will also need to adjust the server validation settings.

This line setts the minimum length to 6

$WAFV_Errors .= WAValidateEL(((isset($_POST["userpassword"]))?$_POST["userpassword"]:"") . "",6,50,true,2);

this line requires at list one number:

$WAFV_Errors .= WAValidateRX(((isset($_POST["userpassword"]))?$_POST["userpassword"]:"") . "","/[0-9]/",true,3);

this line requires at least one letter:

$WAFV_Errors .= WAValidateRX(((isset($_POST["userpassword"]))?$_POST["userpassword"]:"") . "","/[a-z,A-Z]/",true,4);
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...