Table within Create Form.

May I ask what the best approach would be to add a table with a form? The table should also act as a form field, as I plan to save its data in a pivot table.
No description
8 Replies
Matthew
Matthew3w ago
Blade in the form, with a widget table.
Dennis Koch
Dennis Koch3w ago
You cannot use filaments table in a form because the table contains forms and they cannot be nested.m. So you need to roll your own solution
Matthew
Matthew3w ago
I thought I had already done this, but maybe it is something slightly different. Anyway, on re-reading the OP, I think she really wants repeater field, rather than a table.
toeknee
toeknee3w ago
Yeah for the usecase I would use #awcodes-table-repeater
Nicole
NicoleOP3w ago
I need a table that acts like a form, because each row has a checkbox, and the checkbox values will be saved to a pivot table. It also needs to support pagination and sorting. Will a custom field work? My issue is that I need to manually implement pagination and sorting.
toeknee
toeknee3w ago
Yes but not for pagination. Sounds like if you want that you need a table select field maybe... I have seen some people doing them
Nicole
NicoleOP3w ago
What do you mean, sir? Do you have any reference? Idea will do.
toeknee
toeknee3w ago
I can't find one to hand, but I've seen them posted essentially it's a table in a model which allows you to select a record to relate in which is essentially what you ware doing.

Did you find this page helpful?