[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 152
  • Last Modified:

coldfusion form

Hi,

I am working in coldfusion. I have created a form. <form>
Would like to know standard validation for text fields, date (text field), text areas.
Please help.
0
tiredntroubled
Asked:
tiredntroubled
1 Solution
 
js_vaughanCommented:
Here are 2 great links to check out.  They are for CF7.

http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00001381.htm

http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00001385.htm

If you just copy and paste the examples you can see them in action.  If i remember correcty, the first uses javascript to catch the errors before the form is submitted, and the second on checks the values at the server.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now