Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filamentβ€’3y agoβ€’
4 replies
leeb98

Combine two fields on a form!

Spinning the wheels on this simple one , behind the scenes i have extended the User table to include first and surname, All I'm trying to do is combine the first + surname into .. Currently have the field on an input form ..Yes i can manually type in name and the process work , But need to be smart about this refer below for form definition . any ideas ? BIG THANKS πŸ™‚
Section::make('Person')->schema([
TextInput::make('name')->hidden(),
TextInput::make('First')
->required(),
TextInput::make('Surname')
->required(),
TextInput::make('email')
->required()
->email(),
TextInput::make('Password')
->required()
->password(),
])->columns(3)
Solution
You can use this one https://filamentphp.com/docs/3.x/forms/fields/checkbox-list#customizing-the-relationship-option-labels
Checkbox list - Form Builder - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel β€’ Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Dynamic form fields based on dependant fields
FilamentFFilament / β“β”Šhelp
3y ago
Concat two form fields with multiple select relationship
FilamentFFilament / β“β”Šhelp
3y ago
sum two fields
FilamentFFilament / β“β”Šhelp
3y ago
FileUpload in form resets form fields on upload
FilamentFFilament / β“β”Šhelp
2y ago