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

rating

Progress Bar overrides spry validation

Thread began 12/14/2010 6:53 pm by jarrad407561 | Last modified 1/06/2011 8:58 pm by jarrad407561 | 2888 views | 18 replies |

jarrad407561

Progress Bar overrides spry validation

I have a progress bar attached to a form which sends an email using universal email when submitted.
But before it is submitted I have Spry validation on the form, so if you don't fill in all the required fields it should display the errors (which it does), but the progress bar comes up over the top so you can't go back to edit the fields you missed..
Is there a way to make them work together, so that the progress bar doesn't come up until the form has been validated?
I'm using dreamweaver cs4 spry validation.

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a link where i can see this issue to troubleshoot the cause.

Sign in to reply to this post

jarrad407561

You can see it here:

submissions.php

Thanks Jason

Sign in to reply to this post

Dani Chankhour

I'm not able to reproduce the issue on my end. Can you please attach a zip that contains the page with spry and the webassist folder so i can debug the issue on my end.

Thanks.

Sign in to reply to this post

jarrad407561

OK, i've attached the necessary files for you..

If you click on "submit" without typing anything in the input fields it will bring up the validation messages, and the progress bar, but the progress bar blocks you from selecting the input fields again.

I tested on Chrome, IE8, Firefox, Opera, & Safari on windows, and the problem exists on all browsers except for IE..

Attached Files
submissions.zip
Sign in to reply to this post

Dani Chankhour

Thanks.

I think the issue is that you did not select the form when you applied the progress bar.

Try changing this line of code:

WADFP_SetProgressToForm('submissions_ProgressWrapper', 'submissions_ProgressMessageWrapper', WADFP_Theme_Options['ExtendingWheel:Slate']);

to

WADFP_SetProgressToForm('submissions', 'submissions_ProgressMessageWrapper', WADFP_Theme_Options['ExtendingWheel:Slate']);

the first argument needs to be the form ID.

let me know if you have any further questions.

Sign in to reply to this post

jarrad407561

Now the progress bar isn't working at all.. From memory, when i first setup this particular progress bar it didn't work and someone here told me to change that line of code to:

WADFP_SetProgressToForm('submissions_ProgressWrapp er', 'submissions_ProgressMessageWrapper', WADFP_Theme_Options['ExtendingWheel:Slate']);

Sign in to reply to this post

Ray BorduinWebAssist

I just tested and saw the progress bar... perhaps you have fixed the problem or your file upload was so quick the progress bar didn't have time to show?

Sign in to reply to this post

jarrad407561

I only tested on the local machine, i'll upload the changes now..

Sign in to reply to this post

Ray BorduinWebAssist

Please upload the original file that shows the progress bar when the validation fails. In all my tests it seems to work, and it appears there is code in the progress bar that should account for spry errors and not show.

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