How to make a repeater field only have 5 options
Viewing 4 Posts - 1 through 4 (of 4 total)
Author | Posts |
---|---|
February 21, 2015 at 9:58 pm 37299 | |
Nayem | Hi,
I am trying to make the repeater field only show 5 options, and not allow the user to add 100 (if they wanted too).
I have tried replacing this
in frontend-form.js but this just adds 5 everytime the user click the + button. Please help?
Rupert |
February 21, 2015 at 9:59 pm 37300 | |
Rupert | so this is the whole section of script:
|
February 23, 2015 at 4:38 pm 37431 | |
Nayem | Hello Rupert, Pelase open Wp user frotned/assets/js/frotned-form.js and find this function which named as “cloneField”. Please replace the function content with this one-
Thank you 🙂 |
February 24, 2015 at 2:33 am 37473 | |
Rupert | Hello Nayem, Fantastic. Perfect!!!! Thank you so much. Rupert |
February 24, 2015 at 10:55 am 37493 | |
Nayem | Hello Rupert, You are welcome. I am marking this topic as resolved. Thank you 🙂 |
Viewing 4 Posts - 1 through 4 (of 4 total)