close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

spry validation not working

Thread began 2/04/2015 2:14 pm by Kumel | Last modified 2/09/2015 3:42 pm by Jason Byrnes | 1046 views | 13 replies |

Kumel

spry validation not working

i had created registration form using securityassist.

then i upgraded to data bridge just a day back now my spryvalidation doesnt seem to work.

errors are not hidden.

when browser's cache is cleared then error of form field are not shown & if i click register then page refreshes & displays error
( none of the form field were entered - just for testing)

Can anyone help me out with that?

files attached with spry folder

Sign in to reply to this post

Ray BorduinWebAssist

It sounds like the spry css isn't getting loaded. Do you have a url where I can view the problem live? I have a feeling it may not be an issue with the code but what files were uploaded and their locations.

Sign in to reply to this post

Kumel

You can view them here: http://www.showoffgallery.in/registration.php

if u click register button then page refreshes & shows error for fields.

Sign in to reply to this post

Jason ByrnesWebAssist

Spry validation has been deprecated and abandoned by Adobe.

Data Bridge replaces spry validation with JQuery validation.

I would recommend recreating the registration pages suing Data Bridge to have the spry validation replaced with JQuery validation. Spry is no longer being supported by Adobe.

Sign in to reply to this post

Kumel

ok i created all new securityassist pages. how can we change the show if validation style?

& when i open new-userupdate page says no records found.

Sign in to reply to this post

Jason ByrnesWebAssist

go to WebAssist -> Forms -> JQuery. on the first tab you can set the style for the validation errors.


on the users update page, how is the recordset configured?

if you add the following code in the body, what does it show:
<?php @var_dump($_SESSION); ?>

Sign in to reply to this post

Kumel

webassist - forms-> jquery? nothing as such.

users update page:
array(5) { ["WAENCRYPTEDRETURNUSED"]=> bool(false) ["WAENCRYPTEDRETURNSUCCESS"]=> bool(false) ["WAVT_newlogin_Errors"]=> string(0) "" ["UserID"]=> string(1) "2" ["UserEmail"]=> string(18) "kumel619@gmail.com" }

Sign in to reply to this post

Jason ByrnesWebAssist

the session being created by the login is UserID

on the user update page, the recordset is sett filter using the session:
$_SESSION["SecurityAssist_UserID"]

change that to:
$_SESSION["UserID"]

Sign in to reply to this post

Kumel

when submitting form i get errors as attached.

Even when everything is filled up.

Sign in to reply to this post

Jason ByrnesWebAssist

it;s probably the unique validation error. there is most likely already a record with that email address in the system

Sign in to reply to this post
loading

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