I know rest buttons are useless, but my customer wants one,
so here I am. I have a form, and the text input and radio buttons
have cfif statement to check for values. It all works well. But, by
putting cfif in the input fields, the Reset button will not work.
If I take the cfif statements out, the Reset button works fine.
Just not with the cfif statements. Is there any way around this?
My code is:
<input type="radio" name="first_rate_calc" value="0"
onfocus="CLEARFORM()" <cfif
isDefined('form.first_rate_calc')><cfif form.first_rate_calc
EQ 0>checked="true"</cfif></cfif> />
and
<input name="current_multiplier" type="text"
id="current_multiplier" size="5" maxlength="5" <cfif
isDefined('form.current_multiplier')><cfif
form.current_multiplier NEQ "">Value=
"<cfoutput>#form.current_multiplier#</cfoutput>"</cfif></cfif>
/>