Paul, while disabled is a valid html attribute, required is purely cf attribute, which is not in the html specs and will be ignored by all browsers. as Matt said, it is a cf 'pointer' to include relevant js into the page to enforce validation. there is no point trying to set a required attribute at runtime - absolutely nothing will happen in the browser. required attribute is processed on the server by cf only.
Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Paul Ihrig wrote: > there has to be a way > http://www.rittal-corp.com/sales/form/index.cfm > > if i can force it with a disabled. then i should be able to force the > required to false. > this should work! > required="{(gm_O.selected == 1)?0:1}" > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302886 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

