Home › Forums › Feature Requests › Table Field Type › Reply To: Table Field Type
Hi @davemackey
I just tried it out on a project I’m working on and it’s going to work out great. Users can add / remove rows and columns on their own, and conditionally add table headers.
The snag I ran into was that in it’s simplicity, I needed a more complex layout – ability to sub-divide the fields as they are being entered. colspan could have worked, but there’s no control for that in the plugin.
I first tried the jQuery route and got some help on Stackoverflow, but ended up instead using PHP to scan through the td cells for special characters, and inserted div wrappers to control the layout within those cells.
Here’s the write-up on that in case it helps. http://stackoverflow.com/questions/43836976/table-user-controlled-content-with-specific-layout-styling-based-on-the-conten
Going that route, it makes it pretty flexible.
Cheers,
Jonathon
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.