close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Changing registration qualifiers

Thread began 1/19/2010 3:05 pm by laldrich374081 | Last modified 2/22/2010 4:57 pm by laldrich374081 | 6952 views | 26 replies

Eric Mittman

To remove the phone number from the registration you can just remove the form field:

php:
<input name="UserPhone" type="text" class="WAATKTextField" id="UserPhone" onBlur="if (document.getElementById('PhoneServerValidation')) document.getElementById('PhoneServerValidation').style.display='none';WAValidatePN(document.forms[0].UserPhone,'- Invalid phone number',false,true,'x (xxx) xxx-xxxx',document.forms[0].UserPhone,0,true)" value="<?php echo(ValidatedField("usersRegistration","UserPhone")) ?>" size="32" />



Then you need to remove at least the server side validation:

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



This will get rid of the field for you. You should also remove the spry validation code for this but it will not be necessary:

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



Please describe exactly how you would like to make it so that any password works. The way the user registration currently works is to have a user register with username, password and other details. When the user returns to the site they must enter the same username and password they used to register to login to the site. Please describe how you would like it to work differently.

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