Home › Forums › Feature Requests › Custom Table Field
I would like to request a custom table field.
The custom table fields should have table rows and table fields, just like classic tables. It should be possible to add a row or column, just like MS Excel.
Tables are the best option when you need to display, lets say, technical details.
At the moment I am using the plugin TablePress for doing this, but it isn’t the ideal situation.
Hi @rickh
Perhaps you could take a look at the repeater field add-on? This creates a table like UI for you to add rows of data.
Is this what you are looking for?
Thanks
E
Repeater can add rows, but how about a variable amount of columns? These can only be pre-defined.
A simple hack could be using conditional logic and make a certain number of columns to appear. Sstill, the max amount has to be predetermined again and also the display of the rows will retain always the max number of columns due to current design constraints – so it won’t be very user friendly.
Repeater did the trick for me. Awesome add-on!
@Fulvio Isn’t the Flexible content a solution for you?
Oh yeah that would definitely be another way to make it work (or nested repeaters perhaps), but visually isn’t too friendly, is it? I mean if the table has many cells that is.
I made a WordPress Plugin for a simple table ACF-field https://wordpress.org/plugins/advanced-custom-fields-table-field/
The topic ‘Custom Table Field’ is closed to new replies.
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.