Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.