I am trying to create dynamic input fields in a plugin I am working on. I want to add functionality to "Add/Remove and Save" options in my plugin. Something like the below attached.

enter image description here


1 Answer 1


For add and remove button functionality you have to use the jquery. Please see the code here => http://jsfiddle.net/lemonkazi/re8e2yov/

For save button you can use the form or ajax to save the data in option table.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.