Hi 

Thanks for the help using your expert advice has solved the problem !

One other problem I was getting with the radio buttons was the following
error if I do not select a radio button as it is not a required field

Element ORIGIN is undefined in FORM. 

Any ideas on why I am getting this error message when it has been
defined in the code below?

If for example I selected one of the radio buttons I do not recieve any
the above error


<cfif not isdefined("SESSION.test")>
 <!--- If the structure is undefined, create or initialize it --->
 <CFSET SESSION.test = structnew()>
 <!--- The code below represents the users progress in the wizard --->
 <cfset SESSION.test.stepNum = 1>
 <!--- We will collect these from the user; start as blank values --->
 <cfset SESSION.test.title = "">
 <cfset SESSION.test.applicant = "">
 <cfset SESSION.test.origin = ""> etc...
</cfif>


<cfif isDefined("FORM.title")>
 <cfset SESSION.test.title = Form.title>
 <cfset SESSION.test.applicant = Form.applicant>
 <cfset SESSION.test.origin = Form.origin>
</cfif>



<cfform action="application.cfm?StepNum=#session.test.StepNum#"
method="POST">

<cfinput name="title" size="50" required="Yes" message="Please enter
your Title" value="#SESSION.test.title#" validateAt="onsubmit,
onserver">
<cfinput name="applicant" size="50" required="Yes" message="Please
complete" value="#SESSION.test.applicant#" validateAt="onsubmit,
onserver">
<cfinput name="origin" type="radio" value="Origin">Origin1
<cfinput name="origin" type="radio" value="Origin1">Origin2
<cfinput name="origin" type="radio" value="Origin2">Origin3

</cfform>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218390
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to