Wicked,  

I am assuming that you are using a loop to generate the DayReg values.

If so, There are several ways you can do it.  First that comes to mind is to
just post DayReg on its own.  On your post action page, just have a query
that looks up the corresponding ExternalPK & RateCode values of the
submitted DayReg.

Hope that helps.



> -----Original Message-----
> From: Wicked Run [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 28, 2007 12:26 PM
> To: CF-Newbie
> Subject: Form List Values
> 
> Hi everyone-
> 
> I am working on a form that I have inherited where people can register for
> a full conference or individual days of the conference. My problem occurs
> when they submit the form with days selected. I am just adding two new
> fields to this form - ExternalPK and RateCode
> 
> The days have multiple values.
> 
>  <input type="checkbox" name="DayReg" value="#RegPriceID#">
>      <input type="hidden" name="DayExternalPK" value="#RegPriceID#-
> #ExternalPK#">
>      <input type="hidden" name="DayRateCode" value="#RegPriceID#-
> #RateCode#">
> 
> When they submit the form, I can easily get what days they have selected
> using the DayReg field, however I need to be able to pull from the form
> list the ExternalPK and RateCode of only the days that they selected.
> 
> Right now when they submit the form I am getting and list of all of the
> ExternalPKs and RateCodes. I added to the front of those values the
> RegPriceID so I can distinguish the values. But how can I pull from the
> list, the selected values that I need?
> 
> Any help would be appreciated.
> 
> Thanks.
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3082
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