Title: Struggles with dynamic fields
Last modified: June 14, 2019

---

# Struggles with dynamic fields

 *  Resolved [tommienl](https://wordpress.org/support/users/tommienl/)
 * (@tommienl)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/struggles-with-dynamic-fields/)
 * Hello Franky,
 * I have some struggles with creating dynamic fields. I hope you can point me in
   the right direction…
 * **Scenario:**
    1 Adult (parent) can register multiple kids to an event. Max Reservations
   5 \ Min Reservations 1 I’d like to repeat an form for registering the kids (depending
   on selected seats) I’ve made an template with data fields regarding the kids (
   name / age / schoolinfo / etc).
 * **Dynamic settings:**
    Field \ Condition \ Condition value \ Template \ Repeat\
   Grouping Index #_SEATS \ Contains \ 1 \ Kids \ Yes \ 1
 * **Behavior:**
    When i fill in condion: 1 nothing appears (default is 1 seat?)
   When i fill in condion: 2 The dynamic data appears 1 time. But when im selecting
   multiple seats the template is only displayed one time.
 * _I’ve tried multiple settings but im not able to repeat the template for registering
   multiple kids’. Am I doing something wrong / am i on the wrong path here?_
 * Greets Tommie
    -  This topic was modified 6 years, 12 months ago by [tommienl](https://wordpress.org/support/users/tommienl/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/struggles-with-dynamic-fields/#post-11638728)
 * “Contains” is a text comparison, it won’t work as expected on numbers.
    Change
   that to “greater than or equal to” or “greater than” and see the magic 🙂
 *  Thread Starter [tommienl](https://wordpress.org/support/users/tommienl/)
 * (@tommienl)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/struggles-with-dynamic-fields/#post-11639651)
 * Thanks for the reply.
 * When i use “greater than or equal to” with the Condition value of “0” the template
   repeats itself 2 times. But when i change the amount of seats the same 2 templates
   appear.
 * When i use “greater than or equal to” with the Condition value of “1” only one
   template appears. Changing the amount of SEATS wont repeat the template. (the
   same happens when using “greater than”.
 * It is also stating (at the RSVP tab under Dynamically show fields based on a 
   number of conditions):
    The selected template will be shown several times if 
   the repeat option is used (based on the number of times the field is different
   from the condition value. **This is not used for the ‘equal to’ condition selector.**
 * Does this interfere what I want to accomplish?
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/struggles-with-dynamic-fields/#post-11640342)
 * If you use #_SEATS in your condition, you need to use #_SEATS in your rsvp form
   definition too (not #_SPACES or so). I just tested it here and the repeat is 
   working fine. Feel free to post your rsvp form template too.
 *  Thread Starter [tommienl](https://wordpress.org/support/users/tommienl/)
 * (@tommienl)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/struggles-with-dynamic-fields/#post-11681139)
 * Hello Franky,
 * Indeed I had the #_SPACES definition still stated in the initial form. After 
   deleting #_SPACES and using only #_SEATS the repetition works!
 * Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Struggles with dynamic fields’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [tommienl](https://wordpress.org/support/users/tommienl/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/struggles-with-dynamic-fields/#post-11681139)
 * Status: resolved