Validate dynamic datatype in cfinput field.
i have pulled of datatypes query database equate each variable pulled database.
for example:
2016-04-21 07:55:12.0, datetime
atlanta, nvarchar
i have users select variable select box passes datatype next page.
so passed second page, example are, streetaddress , nvarchar.
on next page want validate in cfinput, type = text, text entered database match nvarchar (or int, datetime, varchar, etc)
is possible match database or best bet using validate integer , date, default char, available in cfinput validate function?
b.
it might possible not use cfinput it. own client-side validation using input tag jquery.validation , write own server-side validation. cfinput validation remedial , outdated today's standards. , in habit of using both client-side , server-side validation - client-side user experience, server-side keep application being hacked.
More discussions in ColdFusion
adobe
Comments
Post a Comment