Title: Problem with repeated fields
Last modified: April 5, 2022

---

# Problem with repeated fields

 *  Resolved [cocebro](https://wordpress.org/support/users/cocebro/)
 * (@cocebro)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/problem-with-repeated-fields/)
 * Hello,
    I have repeated fields that are added dynamically by the conditional 
   fields pro plugin and populated by post types plugin for CF7 (drop-down select
   with pictures).
 * The first fields of the group Bici if you choose in the first select: -Montaña-
   or -Carretera- options then shows -Elige modelo de bici- fine with all the images.
   The problem is when the new (bici) fields are added. The options are shown but
   not the pictures.
 * What could be the problem?
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-repeated-fields%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/problem-with-repeated-fields/#post-15528242)
 * Ah yes, this is a common problem with some third party plugins.
 * The plugin/script that creates the image-dropdowns probably only runs when the
   form is loaded. It will replace all select fields with the image-dropdowns when
   the form is loaded, and then it will stop.
 * So when you add some fields with the repeater, a new select field is injected
   in the form, but the image-dropdown script is not expecting this, so it will 
   not transform the select field.
 * To solve this problem, it’s important that the script has some kind of init-function,
   that will re-initialize the dropdowns. To figure out which function, you need
   to check the source code or contact the author of the dropdown-script.
 * Finally you should call this function each time a repeater is added, as explained
   here: [https://conditional-fields-cf7.bdwm.be/docs/troubleshooting/fields-are-not-working-correctly-inside-repeater/](https://conditional-fields-cf7.bdwm.be/docs/troubleshooting/fields-are-not-working-correctly-inside-repeater/)
 * This is kind of a technical problem, so if you’re not a developer it might be
   best to hire one. The task should be rather straight-forward for someone with
   a bit of JS experience.
 *  Thread Starter [cocebro](https://wordpress.org/support/users/cocebro/)
 * (@cocebro)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/problem-with-repeated-fields/#post-15535166)
 * Thanks Jules,
 * I guessed something like this was happening. I contacted with the author but 
   no response yet.
    I’ve been searching for some init function with no luck.
 * Keep trying
 *  Thread Starter [cocebro](https://wordpress.org/support/users/cocebro/)
 * (@cocebro)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/problem-with-repeated-fields/#post-15535404)
 * Succeded!!
 * No init function but including the js code that replaces the select input when
   repeater added did the trick

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

The topic ‘Problem with repeated fields’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

## Tags

 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * 3 replies
 * 2 participants
 * Last reply from: [cocebro](https://wordpress.org/support/users/cocebro/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/problem-with-repeated-fields/#post-15535404)
 * Status: resolved