> What about using a java object. I would prefer not to have any type of code, > that is > accessible to the user that could be altered. Since the cfinput tag describes > what the field > type is (and is already on the server), is there a java metadata object that > could access > this info on the server?
No, that's the whole point. When a form is submitted, all the server gets is name-value pairs in a URL-encoded string. It doesn't matter if you're using Java or CF or anything else on the server - that's just how HTML forms work. While CFINPUT does describe what the field type is, this information is just used to generate an HTML form. CF doesn't "remember" anything about the form after it's been rendered. If you're delivering the form itself to the user, you could keep track of the field types on the server before you deliver the form. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:323415 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

