What I’m trying to do is make two text boxes (height and weight) required 
only if the person selects Yes for the question before it.  Currently I have it 
required no matter what, but that isn’t right… I need to set it so it’s 
only required when they select Yes (will be participating in commencement).

I'm new and need help... 

Please and thanks,
Mike

<td colspan="3">I plan to participate in the May commencement exercises at 
Saint Leo University.<br>(Bachelor's Degree Only)</td>
                                <td colspan="1">
                                                <!---
                                                <cfinput type="radio" 
name="Commencement" value="Yes"> Yes<br>
                                                <cfinput type="radio" 
name="Commencement" value="No" checked="yes"> No            
                                                --->
                                                <cfoutput><cfinput type="radio" 
name="Commencement" value="Yes May #CutOffYear1#"> Yes, May 
#CutOffYear1#</cfoutput><br>
                                                <cfoutput><cfinput type="radio" 
name="Commencement" value="Yes May #CutOffYear2#"> Yes, May 
#CutOffYear2#</cfoutput><br>
                                                <cfinput type="radio" 
name="Commencement" value="No" checked="yes"> No                                
                            
                                </tr>
                                </td>
                </tr>
                <tr>
                
                                <td colspan="3" valign="top">If Yes, we will 
need your height and weight so that we can order your regalia.</td>
                                <td>Height: (inches)<br><cfinput type="text" 
name="Height" size="10" required="yes"  message="Please type in your height (in 
inches)." validate="integer"><br>
                                                Weight:<br>
                                                <cfselect name="Weight" 
required="yes"  message="Please select your weight range." size="2">
                                                                <option 
value="190-less">190 or Less</option>
                                                                <option 
value="190-250">190 - 250</option>
                                                                <option 
value="250-300">250 - 300</option>
                                                                <option 
value="300+">300+</option>
                                                </cfselect>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2998
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to