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)
3 Replies
Solution
Thanks that worked .. π