0

I have a custom post type with meta boxes existing already.

I'm in need of a feature which would be called a sub-form in the MS Access word. It's section 2 in the below image:

enter image description here

I have one row of post meta fields already, and I need a way to allow the user to add as many "rows" of those fields as they want:

enter image description here

I could hack together some javascript which changes the name attribute of those fields, and add some previous and next arrows, but I hope something is readily available.

1 Answer 1

0

What I ended up doing is not worrying about reloading the page.

I have one row of input tags, with a select tag on top that I use to navigate rows. On change, the page reloads. Server side, the select box acts as an index for the input tag names and post meta.

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.