I have 2 radio button groups named group1 and group2 in a form, the value of group 1 and group2 should appear in a the input box name total_size without clicking the submit button of the form
Example:
<form>
<input type="radio" id="m1" name="group1" value=1/>
<input type="radio" id="m2" name="group1" value=2/>
<input type="radio" id="cm1" name="group2" value=1/>
<input type="radio" id="cm2" name="group2" value=2/>
<input type="text" id="total_size" name="total_size" value="RADIO BUTTON GROUP 1 VALUE and RADIO BUTTON GROUP2 VALUE"/>
the format should be group1,group2m
Hi I think you mean something like this.