F
Filament4mo ago
kian

get data of form with custom field

How can i get the data of the form with a custom field? I need the data of the form when on the edit page
5 Replies
Dennis Koch
Dennis Koch4mo ago
The $set and $get methods should be available in the form fields. You can use them to get the values $get('your_field')
kian
kian4mo ago
is there a way to get all the form data? instead of just one field
Dennis Koch
Dennis Koch4mo ago
Not sure if it's available, but might be $livewire->data Maybe $getLivewire()->data
FilamentDEV
FilamentDEV2mo ago
Can you show an example please? How this is used.
Dennis Koch
Dennis Koch2mo ago
Check the „Advanced“ section in the form builder docs.