Best approach

i have two radio buttons (member/non-member), and would like to set the
price of adding attendees to a meeting based on the selection of the
radio button. A shopping cart seems like over-kill for this, but other
than that i’m stuck.

Member Type
<%= f.radio_button :membertype, :class => ‘radio button’ %> Member
<%= f.radio_button :membertype, :class => ‘radio button’ %>
Non-Member

thank you,
Jason

On Jun 23, 2008, at 5:30 AM, jason wrote:

i have two radio buttons (member/non-member), and would like to set
the
price of adding attendees to a meeting based on the selection of the
radio button. A shopping cart seems like over-kill for this, but other
than that i’m stuck.

Member Type
<%= f.radio_button :membertype, :class => ‘radio button’ %> Member
<%= f.radio_button :membertype, :class => ‘radio button’ %> Non-
Member

Store the value of the radio in a session – then you can reuse that
value anywhere you need to.

– gw