close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

When ran form builder password confirm not working

Thread began 12/17/2012 8:04 am by lr_leal239405 | Last modified 12/18/2012 10:12 am by Jason Byrnes | 3408 views | 4 replies |

lr_leal239405

When ran form builder password confirm not working

In the past I used the form builder and it created the behavior for the Confirm Password. I ran it for a site that's now Live but when I tab out of the confirm password field, it does not pop up the message about password matching. Also, the password does not pop up the message about password strength. I don't know what I did different previous time (a couple of months ago) which had worked. The site is Live and I'm no PHP or JavasScript Guru. How do I fix? There are two pages.

www.thescalescatalog.com/

registration.php

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

Are you using Form Toolkit? or using Data Bridge?

if using Data Bridge, make sure you have installed the latest 1.1.0 update that was released last week.

Sign in to reply to this post

lr_leal239405

Sorry, this thread should've gone under CSS Form Builder. That's what I used. Version 2.01.

Sign in to reply to this post

lr_leal239405

I still need the help though. The site is live and, those fields aren't working the way they should and i don't have enough knowledge of coding, let alone all the wa code to make it work. Can i get some kind of answer as to why it didn't build the code for that and what's best thing to do now? Thanks.

Sign in to reply to this post

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.

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