fr4om your examples you are naming both your select list and your check
boxes with the same name " Veteran", which would cause you a problem, you
need to make sure they have unique names.

On Mon, Apr 30, 2012 at 5:12 PM, Greg Morphis <gmorp...@gmail.com> wrote:

>
> Why not use <cfparams> on the action page and default the values? You can
> even default their value to "" and then if it equals that inform the user
> they need to go back and choose one. Or in your form on either the Yes or
> No, use checked="checked" to default one or the other to being checked.
>
>
>
> On Mon, Apr 30, 2012 at 10:31 AM, Steve LaBadie <slaba...@po-box.esu.edu
> >wrote:
>
> >
> > I am using radio buttons as well on the form and I get the same empty
> > results
> >
> > <label class="field-label-nostyle" for="UnderGrad"><strong>Do you have
> > an Undergraduate Degree?</strong></label>
> > <label class="field-label-nostyle" style="margin-left: 10px
> > !important">Yes <input type="radio" id="UnderGrad" name="UnderGrad"
> > value="Yes" /></label>
> > <label class="field-label-nostyle" style="margin-left: 10px
> > !important">No <input type="radio" name="UnderGrad" value="No"
> > /></label>
> >
> > Steve LaBadie, Web Manager
> > East Stroudsburg University
> > 570-422-3999
> > http://www.esu.edu
> > slaba...@esu.edu
> >
> >
> > -----Original Message-----
> > From: Dave Watts [mailto:dwa...@figleaf.com]
> > Sent: Monday, April 30, 2012 11:28 AM
> > To: cf-talk
> > Subject: Re: isDefined inside a cfloop
> >
> >
> > > <label for="Veteran">Veteran:</label>
> > > <select name="Veteran" id="Veteran">
> > > <option>Select...</option>
> > > <option value="Yes">Yes</option>
> > > <option value="No">No</option>
> > > </select>
> >
> > Well that doesn't match what you're looking for in your form
> > processing code at all. First, this will always have a value in your
> > action page, and second, the name of the field will simply be
> > form.veteran, not form.veteran plus some number.
> >
> > Also, you might want to use radio buttons for Boolean questions
> > instead of select boxes.
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> > http://training.figleaf.com/
> >
> > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> > GSA Schedule, and provides the highest caliber vendor-authorized
> > instruction at our training centers, online, or onsite.
> >
> >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350897
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to