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


Can validation error messages be modified using DW without affecting FB?

Thread began 9/18/2009 1:04 am by steve387748 | Last modified 9/18/2009 7:05 pm by Jimmy Wu | 902 views | 1 replies |


Can validation error messages be modified using DW without affecting FB? - RESOLVED

I have a form where I ask for a phone number and an extension. I also supply a place for the user to add a second phone number and extension. I validate on the first phone number because it's required. However, the primary phone's extension isn't required, nor is the second phone number and its extension.

Can I just use DW to edit the error messages in case they put in the wrong format and control the validation that way, and if so, will it interfere with FB in case I need to edit the form again? I'd hate to lose those messages for each of the states required, invalid format.

In other words I need the form to be flexible enough to show errors if they enter something invalid, but the second phone number and phone extensions are not required fields so FB will not do any server validations on those fields.

I wish there was a way to do server validations on everything that's entered in the form, but it appears I can't do that unless I click the validation as "required." Of course not everyone will have a second phone or an extension, so I can't make those fields required.


Sign in to reply to this post

Jimmy Wu

So the way you would be able to create a form validation on phone number that is optional is to not check the required box when setting the validtion on the form element. Create the form, and then in the server behaviors panel, you can edit the WA Server Validations and the server validation for the 2nd phone field. In the edit for this server validation check the allow blank entry checkbox. This will modify the form to allow blank entries for the server validation, but validate on phone format if there is information entered.

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





Ease of use


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