<CFQUERY name="qInventory" datasource="wired_cf">select id, title, instock from inventory</CFQUERY><CFFORM action="form.cfm"><CFIF listfind(validation_error, "choice")><P><FONT color="red">Please select one of the following books.</FONT></P></CFIF><TABLE border="1" cellspacing="3" cellpadding="5" width="350">	<TR>		<TH bgcolor="cccccc">Title		</TH>		<TH bgcolor="cccccc">Copies		</TH>		<TH bgcolor="cccccc">Choice		</TH>	</TR>	<CFOUTPUT query="qInventory">		<TR>			<TD>#title#			</TD>			<TD align="center">#instock#			</TD>			<TD align="center">				<CFIF instock gt 0>					<INPUT type="radio" value="#id#" name="choice">				<CFELSE>All gone.				</CFIF>			</TD>		</TR>	</CFOUTPUT></TABLE><BR><TABLE width="350" border="0">	<TR>		<TD>			<CFIF listfindnocase(validation_error, "name")><FONT color="red">			</CFIF>			<CFOUTPUT>Name:			</CFOUTPUT>			<CFIF listfindnocase(validation_error, "name")></FONT>			</CFIF>		</TD>		<TD>			<cfinput type="Text" name="name" value="#name#" message="Please enter your name." required="Yes" size="25" maxlength="25">		</TD>	</TR>	<TR>		<TD>			<CFIF listfindnocase(validation_error, "address")><FONT color="red">			</CFIF>			<CFOUTPUT>Address:			</CFOUTPUT>			<CFIF listfindnocase(validation_error, "address")></FONT>			</CFIF>		</TD>		<TD>			<cfinput type="Text" name="address" value="#address#" message="Please enter your address." required="Yes" size="25" maxlength="25">		</TD>	</TR>	<TR>		<TD>			<CFIF listfindnocase(validation_error, "city")><FONT color="red">			</CFIF>			<CFOUTPUT>City:			</CFOUTPUT>			<CFIF listfindnocase(validation_error, "city")></FONT>			</CFIF>		</TD>		<TD>			<cfinput type="Text" name="city" value="#city#" message="Please enter your city." required="Yes" size="15" maxlength="15">		</TD>	</TR>	<TR>		<TD>			<CFIF listfindnocase(validation_error, "state")><FONT color="red">			</CFIF>			<CFOUTPUT>State:			</CFOUTPUT>			<CFIF listfindnocase(validation_error, "state")></FONT>			</CFIF>		</TD>		<TD>			<cfinput type="Text" name="state" value="#state#" message="Please enter your state." required="Yes" size="2" maxlength="2">		</TD>	</TR>	<TR>		<TD>			<CFIF listfindnocase(validation_error, "zip")><FONT color="red">			</CFIF>			<CFOUTPUT>ZIP:			</CFOUTPUT>			<CFIF listfindnocase(validation_error, "zip")></FONT>			</CFIF>		</TD>		<TD>			<cfinput type="Text" name="zip" value="#zip#" message="Please enter your ZIP code." validate="zipcode" required="Yes" size="5" maxlength="5">		</TD>	</TR>	<TR>		<TD>			<CFIF listfindnocase(validation_error, "phone")><FONT color="red">			</CFIF>			<CFOUTPUT>Phone:			</CFOUTPUT>			<CFIF listfindnocase(validation_error, "phone")></FONT>			</CFIF>		</TD>		<TD>			<cfinput type="Text" name="phone" value="#phone#" message="Please enter your phone number in XXX-XXX-XXXX format." validate="telephone" required="Yes" size="12" maxlength="12">		</TD>	</TR></TABLE><BR><INPUT type="hidden" name="step" value="process"><INPUT type="submit" value="Submit"></CFFORM>