close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

adding a validated field

Thread began 2/21/2010 3:49 pm by jspoerer286380 | Last modified 3/15/2010 1:56 pm by jspoerer286380 | 3975 views | 13 replies

Dani Chankhour

Yes. This will require a few steps.

1. First you need to make a copy of a line 14, which is a validation for the name field and past it under line 20. And then you will need to update two things: the form element name, and the last parameter value from 1 to 7.

2. Then start by copying line 68 to 77 and pasting that under the form field you have added. Again make sure to replace the name with your form field name. If you have already applied spry validation, then you probably just need to surround the spry with line 68-72 and line 74-77.


Basically, if you use one of the already existed form elements as a starting point, and just change the form element name in the validation and add the extra line of code at the top of the page, you should be able to add server side validation to your new form element.

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