Ensuring the quality of data passed to and from a database is a cornerstone of any platform of dynamic Web development, and Adobe's ColdFusion platform is no exception. Fortunately, later versions of the ColdFusion environment contain a parameter for use in
Instructions
- 1
Open the page containing the form you wish to validate. Move your cursor to the
Add the following parameter to the tag:
validate="numeric"
3Save and publish your page. Your form will now fail to process if its value contains anything other than a numeric value.
0 comments:
Post a Comment