close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Form validation not working properly

Thread began 3/22/2015 2:11 pm by MagsW | Last modified 3/25/2015 12:07 pm by Jason Byrnes | 705 views | 5 replies |

MagsW

Form validation not working properly

I have several pages on our site which have forms, most of which were created using the standard DataAssist pages. All of them seem to have lost the default server validation settings i.e. using the Bloom CSS and the Validation Show If fields don't work. I still get the default jQuery validation pop-up (the yellow exclamation mark with "please fill out this field") but my client doesn't even get that and is able to submit blank forms. Any idea what might be wrong?

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

MagsW

Hi Jason, details in PM section, thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

There are a number of problems with your forms that I am seeing.

1) Confilcting Jquery versions. you are adding jQuery near the top of the page:
<script src="../js/jquery-latest.pack.js"></script>
<script src="../js/bootstrap.js"></script>
<script type='text/javascript' src='js/jquery.min.js'></script>
<script type='text/javascript' src='js/jquery.mobile.customized.min.js'></script>
<script type='text/javascript' src='js/jquery.easing.1.3.js'></script>
<link rel="stylesheet" href="../webassist/jq_validation/Inspiration.css" />


form builder jQuery validation is trying to add it again:

<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>

Form builder needs to have the newer version being pulled from the google server to work properly.

2) You are removing script tags.

this tag for the goole jQuery has been removed:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

and you have also removed the script for the progress bar:
<script src="webassist/progress_bar/jquery-blockui-formprocessing.js" type="text/javascript"></script>

between the removed scripts and the conflicting scripts it is causing the validation errors not to show.

Sign in to reply to this post

MagsW

Thanks Jason. I created a fresh form using DataAssist so that I could take the correct versions of jQuery from the new page. After some testing, I discovered that there was also a problem with the z-index of the validation prompt (.Bloom_wrapper) - it was working but it was hidden behind the background image on the container div. I added a z-index of 10000 to .Bloom_wrapper and hey presto, it works!

Sign in to reply to this post

Jason ByrnesWebAssist

Glad to hear it is working.

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