Skip Navigation

[Resolved] Creating my own custom field?

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 6 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#620540

Hi.
We need to have a frontend table per post that a User can add multiple rows and capture 3 cells of data per row. (single line,date,number) but we need to be able to calculate the total of all data numbers in all rows and and display the total live in the front end.

My understanding is I would create a child type of the 3 cells i want in a row and then (somehow) allow the user to continue adding multiple child posts in the frontend BUT we cannot total all the cell number values because the rows are actually separate posts.

Is there a way to achieve this with your plugin or is it possible to write our own 'table' field?

Please advise the correct process to achieve this

(BTW. Installed Types beta 2.3 b3 but the repeatable fields button is not present)

Many thanks

#620794

Hi,

In your case it needs a custom field group, I suggest you setup a child post type with custom fields, see our document:
Creating Groups of Repeating Fields
https://toolset.com/documentation/user-guides/creating-groups-of-repeating-fields-using-fields-tables/
The Types beta 2.3 b3 is still in beta status, some feature does not work as expected.