>> I guess keeping track of the field types at the time the form is 
>> created is better than what I'm doing now. My field names are coded, 
>> so I loop through FORM.fieldNames looking for a keyword which triggers 
>> the correct type of validation. I could save the field name and field 
>> type in a session variable, then I wouldn't have to worry about the 
>> type being altered.
--sorry if this is a repost, the first one didn't seem to go through--

Since the form submit won't inherently send the 'type' of the field that was 
sent, you could use a method of naming your fields according to the type of 
form field that was used.  eg.  <select name="sel_state"><option>...
or <input type="text" name="txt_Name_First">
or <textarea name="tarea_comments">

Just a thought.

William 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323423
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to