This topic is locked
[SOLVED]

 Utilising Dropdown Boxes as Price Indicators

10/3/2016 4:45:09 PM
PHPRunner General questions
E
EazyLInes author

I am using PHP runner 8.1 and finding my way around it very well until now! I need a little assistance.
This is it:
I have two options on my dropdown box for choice of membership, simply "Senior" and "Junior"
What I want to achieve is to pick say 'Senior' and when selected it projects the price of membership directly to a field called 'MembershipPrice'. Similarly when 'Junior' is selected a different price is entered into the 'MembershpPrice' field.
I would presume this would be placed in: add/edit page after display event? I have spent more than enough hours trying different arrangement but I now need some assistance.
A snippet of code would be helpful as I'm really new to this.