<cfmodule template="#coreform#" formname="form1" maketable="Y" allowfile="Y" debug="no" forminfo="This form is meant to test out a lot of the capabilities of the coreforms.">
<cfmodule template="#coredirections#" directions="These are the directions for the form." />
<cfmodule template="#corefield#" format="text" fieldname="lastname" required="Y" Caption="Lastname" size="30" maxlength="30" helpmsg="Enter your legal last name into this text input box" />
<cfmodule template="#corefield#" format="file" fieldname="file" required="N" Caption="Your File" size="30" standalone="N" />
<cfmodule template="#corefield#" format="text" fieldname="firstname" caption="First Name" required="N" size="30" maxlength="30" />
<cfmodule template="#corefield#" format="date" fieldname="dob" required="N" caption="Date of Birth" size="20" maxvalue="#lsdateformat(now())#" showtip="yes" />
<cfmodule template="#corefield#" format="time" fieldname="TimeOfBirth" caption="Time Of Birth" />
<cfmodule template="#corefield#" format="calendar" fieldname="date2" required="N" caption="Calendar Test" size="20" minvalue="1-1-2005" maxvalue="12-31-2008" showtip="Yes" />
<cfmodule template="#corefield#" format="email" fieldname="email" caption="Email" required="N" size="30" />
<cfmodule template="#corefield#" format="int" fieldname="employeeid" required="N" size="10" caption="Person ID" minvalue="1" maxvalue="10000" />
<cfmodule template="#corefield#" format="radio" fieldname="color" required="N" valuelist="Red,Blue,Green" displaylist="Color Red,Color Blue,Color Green" caption="Favorite Color" />
<cfmodule template="#corefield#" format="select" fieldname="color2" required="N" valuelist="1,2,3" displaylist="red,white,blue" caption="Another Color" blankselection="- Select One -" /> <cfmodule template="#corefield#" format="checkbox" fieldname="group" required="N" queryname="get_colors" valuecolumn="hexcode" displaycolumn="color" caption="More Colors" />
<cfmodule template="#corefield#" format="textarea" fieldname="note" required="N" rows="6" cols="30" caption="Note" maxlength="250" /> <cfmodule template="#corefield#" format="submit" fieldname="Save" Value="Save" /> </cfmodule>
<cfif isdefined('form.coreformaction') and request.isformvalid eq "OK"> <h1 align="center" style="background-color:#FFCC66">Yes</h1> <cfdump var="#form#"> </cfif>