close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Spry Validation Confirm error

Thread began 3/12/2013 3:20 pm by canmor51406258 | Last modified 3/15/2013 10:23 pm by canmor51406258 | 3874 views | 4 replies |

canmor51406258

Spry Validation Confirm error

I am using Security Assist 2 for my registration pages and I get the following error when testing the "Forgotten Password" page. On load (forgottenpassword.php) it comes up with:-

Spry Validation - Confirm. The element Reset_Password_Group_Confirm_Spry does not exist.
I click OK and everything works perfectly thereafter. How do I get rid of this annoying message. Can't seem to find anything similar in the Forum.

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of your page.

There is code to initialize an element named Reset_Password_Group_Confirm_Spry that does not exist on the page.

if i can see the code, i can tell what to remove.

Sign in to reply to this post

canmor51406258

Hi Jason
File attached. Many thanks, I look forward to your reply.

Sign in to reply to this post

Jason ByrnesWebAssist

change the following code:

php:
<?php if(WA_Auth_RulePasses("Encrypted email return set")){ // Begin Show Region ?>

  <?php if(WA_Auth_RulePasses("Encrypted email return success")){ // Begin Show Region ?>
    
    <?php // End Show Region ?>
  <?php // End Show Region ?>
  </div>
<script type="text/javascript">
<!--
var Reset_Password_group_Email_Spry = new Spry.Widget.ValidationTextField("Reset_Password_group_Email_Spry", "email", { minChars:6, maxChars:100 , validateOn:["blur"]});
var Reset_Password_group_Password_Spry = new Spry.Widget.ValidationPassword("Reset_Password_group_Password_Spry", { minAlphaChars:0, maxAlphaChars:13, minNumbers:0, maxNumbers:13, minSpecialChars:0, maxSpecialChars:0, minChars:6, maxChars:13, isRequired:true , validateOn:["blur"]});
var Reset_Password_group_Confirm_Spry = new Spry.Widget.ValidationConfirm("Reset_Password_group_Confirm_Spry", "Reset_Password_group_Password",{validateOn:["blur"]});
//-->
</script>




to:

php:
<?php if(WA_Auth_RulePasses("Encrypted email return set")){ // Begin Show Region ?>

  <?php if(WA_Auth_RulePasses("Encrypted email return success")){ // Begin Show Region ?>
<script type="text/javascript">
<!--
var Reset_Password_group_Email_Spry = new Spry.Widget.ValidationTextField("Reset_Password_group_Email_Spry", "email", { minChars:6, maxChars:100 , validateOn:["blur"]});
var Reset_Password_group_Password_Spry = new Spry.Widget.ValidationPassword("Reset_Password_group_Password_Spry", { minAlphaChars:0, maxAlphaChars:13, minNumbers:0, maxNumbers:13, minSpecialChars:0, maxSpecialChars:0, minChars:6, maxChars:13, isRequired:true , validateOn:["blur"]});
var Reset_Password_group_Confirm_Spry = new Spry.Widget.ValidationConfirm("Reset_Password_group_Confirm_Spry", "Reset_Password_group_Password",{validateOn:["blur"]});
//-->
</script>    
    <?php // End Show Region ?>
  <?php // End Show Region ?>
  </div>
Sign in to reply to this post

canmor51406258

Many thanks! That did the trick.

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