close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

When ran form builder password confirm not working

Thread began 12/17/2012 11:04 am by lr_leal239405 | Last modified 12/18/2012 1:12 pm by lr_leal239405 | 2572 views | 4 replies

Jason ByrnesWebAssist

I cant say why the validation is not being applied correctly when you run the izard, i have been trying to recreate the issue, but have not been able to.

I can tell you how to correct it thou
gh:
for the confirm validation:
on the registration.php page

change:

<div class="fieldGroup"> <span id="Confirm_Spry">
<input id="Confirm_Password" name="Confirm_Password" type="password" value="" class="formPasswordfield_Large" tabindex="3" onBlur="hideServerError('Confirm_Password_ServerError');">
</span> </span>
<span class="confirmRequiredMsg">A value is required.</span><span class="confirmInvalidMsg">Please ensure password entries match.</span> </span>
</div>



to:

<div class="fieldGroup"> <span id="Confirm_Spry">
<input id="Confirm_Password" name="Confirm_Password" type="password" value="" class="formPasswordfield_Large" tabindex="3" onBlur="hideServerError('Confirm_Password_ServerError');">
<span class="confirmRequiredMsg">A value is required.</span><span class="confirmInvalidMsg">Please ensure password entries match.</span> </span>
</div>




on the www.thescalescatalog.com/ page:

change:

<div class="fieldGroup"> <span>
<input id="Confirm_Password" name="Confirm_Password" type="password" value="" class="formPasswordfield_Large" tabindex="7" />
</span>
</div>




to:

<div class="fieldGroup"> <span id="Confirm_Spry">
<input id="Confirm_Password" name="Confirm_Password" type="password" value="" class="formPasswordfield_Large" tabindex="7" />
<span class="confirmRequiredMsg">A value is required.</span><span class="confirmInvalidMsg">Please ensure password entries match.</span></span>
</div>



and change:

<script type="text/javascript">
<!--
var Email_Address_Spry = new Spry.Widget.ValidationTextField("Email_Address_Spry", "email",{validateOn:["blur"]});
var Password_Spry = new Spry.Widget.ValidationPassword("Password_Spry",{validateOn:["blur"]});
var Company_Name_Spry = new Spry.Widget.ValidationTextField("Company_Name_Spry", "none",{validateOn:["blur"]});
var Address_1_Spry = new Spry.Widget.ValidationTextField("Address_1_Spry", "none",{validateOn:["blur"]});
var City_Spry = new Spry.Widget.ValidationTextField("City_Spry", "none",{validateOn:["blur"]});
var State_Spry = new Spry.Widget.ValidationSelect("State_Spry",{validateOn:["change"]});
var Postal_Code_Spry = new Spry.Widget.ValidationTextField("Postal_Code_Spry", "none", { maxChars:12 , validateOn:["blur"]});
//-->
</script>



to:

<script type="text/javascript">
<!--
var Email_Address_Spry = new Spry.Widget.ValidationTextField("Email_Address_Spry", "email",{validateOn:["blur"]});
var Password_Spry = new Spry.Widget.ValidationPassword("Password_Spry",{validateOn:["blur"]});
var Company_Name_Spry = new Spry.Widget.ValidationTextField("Company_Name_Spry", "none",{validateOn:["blur"]});
var Address_1_Spry = new Spry.Widget.ValidationTextField("Address_1_Spry", "none",{validateOn:["blur"]});
var City_Spry = new Spry.Widget.ValidationTextField("City_Spry", "none",{validateOn:["blur"]});
var State_Spry = new Spry.Widget.ValidationSelect("State_Spry",{validateOn:["change"]});
var Postal_Code_Spry = new Spry.Widget.ValidationTextField("Postal_Code_Spry", "none", { maxChars:12 , validateOn:["blur"]});
var Confirm_Spry = new Spry.Widget.ValidationConfirm("Confirm_Spry", "Password",{validateOn:["blur"]});
//-->
</script>




for the password field length, select the password field in design view, note the blue bounding box, if you click the blue bounding box, it trigger the Spry settings to appear in the property inspector, you can edit the spry settings to enter your strength requirements.

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