Hello,
I was wondering if any of you amazing programmers out there might be able to help me with something. I want to create a custom field, i.e build my own "custom" custom field that allows the user to dynamically add new table items depending on how many they need. For example, say the user creates a new post and in this post he wants to add information such as, information about the units in a condo. Lets say some condos have 2 units to showcase, while others have 5 or 6 or any number. How could I set it up so I could add new table rows dynamically from the back end?
I imagine something intuitive like a plus symbol under the default table rows that allowed the user to easily add a new input field.
Here are some of the project requirements:
1) Must have 5 columns
2) Undefined number of rows but say a base number of about 4 rows
3) When user adds new item, it must add all the columns needed: unit size, number of beds, Size Meter Square, Price from, Price to
4) Newly added rows must update and be added to the database (of course)
I know how to create the main body of the code here.. I just don't know how to add a function that will allow me to increment a new table row with table data included.
Any help will be much appreciated
Thanks