Expand my Community achievements bar.

FormCalc Help

Avatar

Former Community Member
Hello,



I am currently trying to create an interactive form for a career fair registration. I basicaly have radio buttons, each of them for different types of registration (200, 275, and 300 dollars). I'm trying to make it if a certain radio button is selected, a specific variable = the ammount corrisponding. Can anyone give me a hand, or can you forward me a good FormCalc resource on the net? Thanks!



Joshua Kanger
1 Reply

Avatar

Former Community Member
HI Joshua,



In order to do what you want, there is not alot of coding needed.



To set the values for each radio button, you would go under the binding tab in the radio button group and set the values of each of the buttons. Ex: Button1 is set to 200.



The only code you need to write is in the "calculate" event of the field that you wish to populate with the value. The code to put in would be:



$form.fromName.subFormName.nameOfRadioButtonGroup

Ex:

$form.form1.SubForm1.radioGroup



This code will display the value that you set in the binding.



If you have any more questions let me know,



Catherine