WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm not sure this has been answered previously..

I have a frontend form where the user fills out a form that has dynamic fields where they can add more fields if they choose to. The jquery names the input fields as follows

data[0] data[1] data[2] data[3] etc.. depending on how many fields the user wants.

When the form is submitted, all the data goes into one record as metadata. Is there a way to have the user be able to reorder the metadata with a drag and drop functionality?

And save the metadata order?

share|improve this question

This is a complex answer, more than can really be answered in a post here. However, you can take a look at this tutorial - I've done something similar, and his post is very thorough:
jQuery UI Sortable Tutorial

share|improve this answer
thanks for the suggestion. – user7481 Feb 25 '12 at 6:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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