close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Inconsistant Validation

Thread began 9/17/2009 10:59 am by troyd | Last modified 9/17/2009 1:18 pm by Jimmy Wu | 1717 views | 4 replies |

troyd

Inconsistant Validation

I have something strange going on here with my form created in CSS Form Builder.
At first I was convinced I had done something wrong, and maybe it's still the case. But I created a clean generic form using only the presets in FB and then uploaded all folders and files.
What's happening is the invalid message appear at the start, for my textarea field. What I want is for it to act just like the name and email text field. Where there is no message, but if you click into the field, then click out of the field the message pops up. What am I missing and how do I hide the text area message until it's been validated on blur.

And what makes this even more strange is that I created and uploaded the exact same preset on a different domain and it works properly. I immediately assumed I had a corrupt file so I let WA create new ones. That didn't do it.

Lastly, how come there are two validations for each field? Just curious. There is the "Show if" WA validation and then there is the Spry validation. Do we need both? Why does FB automatically create so many validations?

Thanks,
TroyD

Sign in to reply to this post

troyd

I think I found one of the issues. Well, there are two actually but one would be directly linked to my textarea validation issue. The file needed was in my SpryAssets folder and when I look at the modified date of the folder it's over a week old. But when opening the folder I see that a new file was generated and I failed to upload that. My bad.

But then I looked into my WA_ValidationToolkit it had not generated either of the scripts or validatedform files. Only the Captcha file. I had just deleted this entire folder and then reopened FB to recreate all the files. Upon opening it a second time, it completed the missing files. So I am not sure if this has any connection to the inconsistencies of some of the validation. Obviously the missing files above cause the page to not open so there for, no validation at all. But it's kind of weird that FB created the folder an only one file on my third attempt. Did I do something to interrupt the extension? I don't know.

It's working now but I would still like to know if two validations are needed for each field.

TroyD

Sign in to reply to this post

Jimmy Wu

There are client side validations and server side validations. The Spry validations are the client side validations and the WA_Validation show if is for the server side validations. You can decide whether you want them both or not based on what you want for your site. You can turn off one or both by going to the Edit Design interface and choosing validations from the drop down menu. There will be a section labeled Type and you can select which ones you want applied.

Sign in to reply to this post

troyd

OH, I can't believe I missed that. I didn't think to look under design for validations. Thanks for the reply that makes it easier now.

TroyD

Sign in to reply to this post

Jimmy Wu

Glad it helped. If you have any other issues, feel free to make a new thread.

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