I have started developing in cfmx 7 and I came across something really weird. I am not sure if its a cfmx bug or if I am doing something wrong.
I have a cfform tag and a cfinput radio button in it. Here is the code.
If I had a regular HTML input tag for the radio button, The value of #Form.ContentType# would be and empty string and the Len would be zero after submitting the form.correct?
But when I submit the above form the value of #Form.ContentType# is "Load Content" which is the LABEL and NOT an empty string! Is my usage incorrect or this is a bug in the program. Please help.
When I get rid of the label in the cfinput tag the value of #Form.ContentType# becomes [empty string] and the Length is 0. What is going on?
I have a cfform tag and a cfinput radio button in it. Here is the code.
Code:
<cfform format="flash" name="thisform" action="form1.cfm method="post" skin="halosilver">
.....
<cfinput type="radio" name="ContentType" value="" label="Load Content" required="no" message="Please select the content type" checked="no">
</cfform>
If I had a regular HTML input tag for the radio button, The value of #Form.ContentType# would be and empty string and the Len would be zero after submitting the form.correct?
But when I submit the above form the value of #Form.ContentType# is "Load Content" which is the LABEL and NOT an empty string! Is my usage incorrect or this is a bug in the program. Please help.
When I get rid of the label in the cfinput tag the value of #Form.ContentType# becomes [empty string] and the Length is 0. What is going on?