Nesting multi records?
2 posts by 2 authors in: Forums > CMS Builder
Last Post: September 9, 2011 (RSS)
By keith_s - September 8, 2011
I have created a multi-record editor. I would like to create the ability to add another multi-record function inside of the editor. What I want to do is allow a user to add bullets to a field and then drag and sort as necessary. Is this possible?
Here's my exact situation:
1 - I created a Multi-record editor titled "Jobs".
2 - One of the fields is titled "Education and Experience".
3 - I would like to user to add bullets, one by one, until they add as many or few as they want. Ideally, the user would also be able to drag and drop to sort the list as necessary.
4 - I can format the output in php with whatever custom code is needed for the resultant html.
5 - The "Education and Experience" bulletted list would be different for almost every job that is posted.
Again, is it possible to do what I'm asking?
Thanks in advance,
Keith D Sellars
WebGraffix Media Solutions, LLC
http://www.webgraffix.com
Here's my exact situation:
1 - I created a Multi-record editor titled "Jobs".
2 - One of the fields is titled "Education and Experience".
3 - I would like to user to add bullets, one by one, until they add as many or few as they want. Ideally, the user would also be able to drag and drop to sort the list as necessary.
4 - I can format the output in php with whatever custom code is needed for the resultant html.
5 - The "Education and Experience" bulletted list would be different for almost every job that is posted.
Again, is it possible to do what I'm asking?
Thanks in advance,
Keith D Sellars
WebGraffix Media Solutions, LLC
http://www.webgraffix.com
Re: [webgfx] Nesting multi records?
By Jason - September 9, 2011
Hi Kieth,
Currently, CMS Builder doesn't have the ability to allow you to create multiple records from within a given record.
What you can do is create a separate section for "Education and Experience" In that section, you can have a drop down that assigns the record to a particular job. Finally, in your jobs section, you can add a related record so that you can see all of the education/experience records that were assigned to that job.
It's important to note that the getRecords function won't get those related records for you. You will need to use a second getRecords call to get your list of Education/Experience records.
Hope this helps
Currently, CMS Builder doesn't have the ability to allow you to create multiple records from within a given record.
What you can do is create a separate section for "Education and Experience" In that section, you can have a drop down that assigns the record to a particular job. Finally, in your jobs section, you can add a related record so that you can see all of the education/experience records that were assigned to that job.
It's important to note that the getRecords function won't get those related records for you. You will need to use a second getRecords call to get your list of Education/Experience records.
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/