I am building a registration form for classes.
I can have up to 20 participants in each class but no more than 4 children who are under 9 years old.
The idea is that the user first fills in the Date of birth.
In the past when I did not have the under 9 limitations I used
[frm-condition source=frm-stats id=8 type=count 8_contains="Session 1" less_than=20][input opt=2][/frm-condition]
To show or hide the radio box of the class that reached 20 participants.
How should I proceed with the new setup?
Thanks,
Guy
Maybe calculate the age and put that into a hidden field and then use the frm cond that way?
https://formidableforms.com/knowledgebase/field-calculations/#kb-calculate-a-users-age
<p>Thank you for your answer. Let's say that I have 8 participants registered, 4 are 8 years old and 4 are older than 9. I still have 12 spots available in general, but none for kids younger than 9. To filter by the total of registered participants I can filter using : [frm-condition source=frm-stats id=8 type=count 8_contains="Session 1" less_than=20][input opt=2][/frm-condition] Can I add AND to this filter? can I nest conditions? I will need to check 2 fields id=8 less than 20 and id=x (entries that are marked as kids under 9) less than 4.</p>
And is not an accepted parameter, but you can nest shortcodes. Give it a shot.
Please login or Register to submit your answer