Validate dynamic datatype in cfinput field.
I have pulled all of the datatypes from a query to the database that equate to each variable pulled from the database.
For example:
2016-04-21 07:55:12.0, datetime
Atlanta, nvarchar
I have users select the variable from a select box which also passes the datatype to the next page.
So passed to the second page, for example are, StreetAddress and nvarchar.
On the next page I want to validate in a cfinput, type = text, that the text entered is the database match for nvarchar (or int, datetime, varchar, etc)
Is it possible to match exactly with the database or is my best bet just using the validate for integer and date, default char, as are available in the cfinput validate function?
B.
