cfinput - input type radio
cfinputTypeRadio.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfinput type radio: how to use input type radio in coldfusion</title>
</head>
<body>
<h2 style="color:SaddleBrown; font-style:italic">cfinput type radio example: how to use</h2>
<hr width="425" align="left" color="Gray" />
<br />
<cfif IsDefined("Form.SubmitMemberStatus") and IsDefined("Form.member")>
<cfoutput>
<h3 style="color:OrangeRed;">
Member: #Form.member#
</h3>
</cfoutput>
</cfif>
<cfform name="InputTypeRadioTest" method="post" format="html">
<table border="1" cellpadding="5" cellspacing="0" bordercolor="Orange">
<tr>
<td colspan="2" bgcolor="DeepPink" style="color:Snow; font-size:large" align="center">
Are you member?
</td>
</tr>
<tr>
<td style="color:RosyBrown; font-weight:bold">
Yes
</td>
<td>
<cfinput type="radio" name="member" value="Yes">
</td>
</tr>
<tr>
<td style="color:RosyBrown; font-weight:bold">
No
</td>
<td>
<cfinput type="radio" name="member" value="No">
</td>
</tr>
<tr>
<td colspan="2" align="right">
<cfinput name="SubmitMemberStatus" type="submit" value="Submit">
</td>
</tr>
</table>
</cfform>
</body>
</html>
- cfinput - daynames in input type datefield
- cfinput - validate input type datefield
- cfimage - convert image file format jpg to gif programmatically
- cfimage - get image information programmatically
- cfimage - compress jpeg image programmatically
- cfimage - generate random captcha text
- cfimage - create and use captcha