On Martes, 15 de Diciembre de 2009 22:53:33 Swartz escribió:
> I know there is a way to chain drop-down fields.
>
> Is there a way to chain a drop down field along with a text input
> field?

Really there is a way to chain fields, it works for all field types which 
respond to onchange event.

>
> Example:
> I have a memberships table which list different types of memberships
> and their associated price.
>
> Then I have a members table, who can be associated with a given
> membership.
>
> What I would like when creating a new member is if I select a given
> membership option from drop-down menu is to populate another textual
> field say (member_pay) with the cost of the membership. Which can be
> saved for each member (in case of discounts, etc).

Have you tried to set update_column option in membership column to member_pay 
column?


-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

--

You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.


Reply via email to