Hi,
I am making a form for conference registration and would like to set it up so that values are filled in automatically based on radio button answers. For example, there are 4 different registration levels and values. I have set up radio buttons for these. At the bottom of the form is an area that will tabulate all of the costs. So, I would like to be able to fill the appropriate value based on the radio button response. If they choose full it would put 300 into the spot for registration cost.
Similarly for accommodation there are2 different types and 5-nights to choose from. So, if the users choose option 1 for 5 nights I would like the total value to go into the spot for accommodation.
I imagine that I need to set up some if/then sort of statements with Javascript but have no idea where to begin. Any advice, help or suggestions of resources to look at would be greatly appreciated.
Thanks,
Charlie
Radio buttons and check boxes have a value of "Off" when not selected and for each named group of check box or radio buttons have the value of the checked check box's or radio button's export or option value..
With one of the automated calculation order you only need select the field for the calculation. For the custom calculation script option you need to use an if statement to exclude the "Off" value from the calculation.
North America
Europe, Middle East and Africa
Asia Pacific