Field value not getting set correctly in shown group.
-
Hello, I’m trying to set a field value within a group. I’ve setup the conditions and have three groups. It appears the conditions and groups are working, but my Price field keeps getting set to the value in the first group, even if that one isn’t supposed to be shown. I initially tried it with hidden fields, but when that didn’t work I tried setting it with a pulldown that only had one value in it. Basically Price keeps getting set to 30, even when it looks like one of the other groups are being shown that should set it to a different value.
My CF7 code is below. Any ideas?
- Age [radio Age default:1 “Adult” “Junior”]
- Membership Type [radio Type default:1 “New” “Renewal”]
- Junior Membership – $30
- note: the entire fee goes to the Junior Shooting Program
- Adult Membership Renewal – $40
- Adult Membership Renewal [select price id:Price default:1 “40”]
- New Adult memberships are pro-rated by the quarter
- Please select the appropriate joining month and price [select price id:Price “Jan thru March – 40” “April thru June – 30” “July thru Sept – 20” “Oct thru Dec – 1”]
[group group-junior]
<br>
[select price id:Price default:1 “30”]
[/group]
[group group-adult]
[group group-arenew][/group]
[group group-anew]<br>
[/group]
[/group]Thanks,
Greg
- The topic ‘Field value not getting set correctly in shown group.’ is closed to new replies.