Creating a Content Part that allows for dynamic fields to be created

Topics: Writing modules
Editor
Aug 11, 2011 at 2:23 AM

Has anyone developed a content part that allows for dynamic form field creation by an Administrator? Basically I have a Content Type that was created called Volunteer Opportunity. I want to add a content part to this Content Type that allows the Administrator to dynamically create "Time Slots" for a particular volunteer opportunity. Each slot would have a start time and end time associated along with a title for the job at this time slot. As an Administrator creates the slots they appear on the front end for users to sign up for.

Has anyone build a content part with similar functionality I could model the dynamic field creation piece of off? I am wondering if there is a way to save each field individually in the content part editor view or is it going to be a global save on the "Save" and "Publish" buttons of the page. It would be good to have a model to follow for a more advanced UI functionality.

Thanks!