I need to automatically determine and assign a participant’s group (category) based on their year of birth, gender, and selected distance when a form is submitted.
The group should be saved with the entry so it can be seen by organizers and participants in entry lists and views, not calculated only at display time.
What is the recommended way in Formidable Forms to automatically assign and store such a calculated group for each participant?
Not knowing the your complete requirements or process flow, from what you described it's likely a custom code requirement, either jQuery or PHP through a WordPress hook depending on where in the process you want the result calculated.
I have a form with repeatable fields for registering participants in a cycling competition.
The participants are then displayed in a View on the competition page.
I need each participant to be automatically assigned to a group based on their gender, age, and selected distance.
The way I read it, you can create either a hidden field or a field only viewable by an admin to store the value and use the frm_after_create_entry hook to calculate the value and store it in that hidden field.
I have a form with repeatable fields for registering participants in a cycling competition.
The participants are then displayed in a View on the competition page.
I need each participant to be automatically assigned to a group based on their gender, age, and selected distance.
I stick by my answer. Because of the repeater, the code is moderately difficult, though definitely doable.
Could you recommend how to do it?
George, Rob did recommend how to do it. You need to write custom code. Nobody can tell you how to do this without accessing your system. If you need a developer's help, please visit https://formidable-masterminds.com/developers-directory/.
Please login or Register to submit your answer