Title: Clone/repeat fields without inserted information
Last modified: December 18, 2017

---

# Clone/repeat fields without inserted information

 *  [manas81](https://wordpress.org/support/users/manas81/)
 * (@manas81)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/clone-repeat-fields-without-inserted-information/)
 * Isn’t it possible to simply repeat/clone the fields without cloning the information
   inside the input boxes? This doesn’t make sense to me..! I need help with this
   asap.

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

 *  Plugin Author [Saravana Kumar K](https://wordpress.org/support/users/mycholan/)
 * (@mycholan)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/clone-repeat-fields-without-inserted-information/#post-9802074)
 * Noted, I will update it on my next release, for you I will try to put an updated
   snippet here shortly.
 *  [carver1g](https://wordpress.org/support/users/carver1g/)
 * (@carver1g)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/clone-repeat-fields-without-inserted-information/#post-9839616)
 * If you haven’t found a solution yet, this is what I did.
 * I edited wcff-client.js and right below line 262 I added this line:
 * cloned.find(“input[type=radio],input[type=text],input[type=checkbox], textarea”).
   removeAttr(“checked”).val(”);
 * Works quite well.
 *  [carver1g](https://wordpress.org/support/users/carver1g/)
 * (@carver1g)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/clone-repeat-fields-without-inserted-information/#post-9841442)
 * OK, I had to make adjustments in order for it to work with radio buttons and 
   checkboxes.
 * In wcff-client.js after line 262 there needs to be two separate lines. One for
   text and textarea and the other for radio buttons and checkboxes:
 *  cloned.find(“input[type=text], textarea”).val(”);
    cloned.find(“input[type=radio],
   input[type=checkbox]”).removeAttr(“checked”);
 * Now it works!

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

The topic ‘Clone/repeat fields without inserted information’ is closed to new replies.

 * ![](https://ps.w.org/wc-fields-factory/assets/icon-128x128.jpg?rev=2738843)
 * [WC Fields Factory](https://wordpress.org/plugins/wc-fields-factory/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-fields-factory/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-fields-factory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-fields-factory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-fields-factory/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [carver1g](https://wordpress.org/support/users/carver1g/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/clone-repeat-fields-without-inserted-information/#post-9841442)
 * Status: not resolved