Thursday 28 March 2019

What is the role of the ColdFusion data validation?

There are basically three type of the data validation in ColdFusion framework -
  • decision functions
  • client and server side form validation
  • data types and variables
In ColdFusion framework, there are many types of rules and algorithms to define the form validations. For URL hijacking, there are many type of functions which are necessary to be leveraged. Like -
  • isbinary ()
  • isboolean ()
  • isdate ()
  • isdefined ()
  • isxml ()
  • isvalid ()
  • isnumeric date ()
  • issimplevalue ()
  • lsisnumeric ()
The <cfform> tag is helpful in defining the javascript side server validation in the browser. In the <cfinput> tag, mask and validateat attributes are provided. The mask attribute is provided to identify the character patterns in a string. The attribute validateat is provided to identify where the data validation is being occured.
Hope you have liked this post ! Thanks for reading it !

No comments:

Post a Comment