© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
IndomieRendang

Custom validation message?

Hi, how to change some validation message for specific form?

Invitation action form:
TextInput::make('email')
  ->unique(
    table: 'team_invitations',
    callback: fn (Unique $rule) =>
      $rule->where('team_id', getPermissionsTeamId())
TextInput::make('email')
  ->unique(
    table: 'team_invitations',
    callback: fn (Unique $rule) =>
      $rule->where('team_id', getPermissionsTeamId())

I just want to make a very little change:
"The Email has already been taken invited this team"

so I think I shouldn't modify the lang file.
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

Custom & display validation message
FilamentFFilament / ❓┊help
7mo ago
Custom validation message for requiredWithoutAll
FilamentFFilament / ❓┊help
3y ago
Custom validation message for min attribute
FilamentFFilament / ❓┊help
2y ago
Custom validation message is not working
FilamentFFilament / ❓┊help
2y ago