Title: Slider Fields on Dynamically Generated Fields
Last modified: April 17, 2018

---

# Slider Fields on Dynamically Generated Fields

 *  [mrcteam](https://wordpress.org/support/users/mrcteam/)
 * (@mrcteam)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/slider-fields-on-dynamically-generated-fields/)
 * We have a form that utilizes this plugin. The plugin does work flawlessly for
   the initial fields.
 * However, we have a very complex form and we’re also using this plugin: [https://gravitywiz.com/documentation/gravity-forms-nested-forms/](https://gravitywiz.com/documentation/gravity-forms-nested-forms/)
   which dynamically nests additional gravity forms inside the original gravity 
   form in the DOM.
 * We have a button that is clicked, that loads the nested form. OnClick I am able
   to manipulate various DOM elements for the nested form. I am also trying to run
   sliderInit(); to change the dynamically loaded slider fields but keep getting“
   noUiSlider (10.0.0): Slider was already initialized.”
 * Was wondering if you knew of a way to “re-run” the slider field javascript to“
   sliderize” [lol] the slider fields that were loaded dynamically?
 * Thank you!!

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

 *  Thread Starter [mrcteam](https://wordpress.org/support/users/mrcteam/)
 * (@mrcteam)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/slider-fields-on-dynamically-generated-fields/#post-10195415)
 * I was trying to figure out a way to un-initialize the noUiSlider object upon 
   click and rerun sliderInit(); to bind to the dynamically generated DOM elements
   to no success.
 * However, I figured out a working solution customized to this specific project…
   had to modify the /gravity-slider-fields/js/slider.js file though.
 *  Plugin Author [uamv](https://wordpress.org/support/users/uamv/)
 * (@uamv)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/slider-fields-on-dynamically-generated-fields/#post-10195805)
 * [@mrcteam](https://wordpress.org/support/users/mrcteam/) I’ll add this to my 
   list and try to investigate at some point. Thanks for reporting!

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

The topic ‘Slider Fields on Dynamically Generated Fields’ is closed to new replies.

 * ![](https://ps.w.org/gravity-slider-fields/assets/icon-256x256.png?rev=2073431)
 * [Gravity Slider Fields](https://wordpress.org/plugins/gravity-slider-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-slider-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-slider-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-slider-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-slider-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-slider-fields/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [uamv](https://wordpress.org/support/users/uamv/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/slider-fields-on-dynamically-generated-fields/#post-10195805)
 * Status: not resolved