© 2026 Hedgehog Software, LLC

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

Custom action for clickable url column

I made a custom column that I'm using in my table:
CopyUrlColumn::make('linkedin_url')->sortable()->searchable(),
CopyUrlColumn::make('linkedin_url')->sortable()->searchable(),


When a user clicks on this link, they are redirected to linkedin and a certain script is copied to their clipboard.
What I now want is, when a user clicks the link, something is saved in the database, so what I mean is that I want to execute some php code when the link is clicked. How can I do this?
image.png
Solution
This did the trick
image.png
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Custom Column Clickable - Prevent
FilamentFFilament / ❓┊help
16mo ago
Custom Action on custom column.
FilamentFFilament / ❓┊help
9mo ago
Table Action Url() on Column
FilamentFFilament / ❓┊help
3y ago
Post title clickable url
FilamentFFilament / ❓┊help
14mo ago