© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
dotdotdot

Empty hidden fields

I have two columns in my table
hours
hours
and
semesters
semesters
. both are nullable.

in my form, I have a checkbox, it's value decides whether to show the hours or the semesters input using the
->hidden
->hidden
method

now I don't want both semesters and hours to be set at the same time, so for example if
horus
horus
is shown I want to make sure
semesters
semesters
is null when saving the form and vice-verca
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Hidden fields
FilamentFFilament / ❓┊help
3y ago
Include hidden fields
FilamentFFilament / ❓┊help
12mo ago
hidden fields V3
FilamentFFilament / ❓┊help
3y ago