User

Hello, how can I send the user_id that is logged in, in a hidden field to the database?
No description
5 Replies
Maru
Maru15mo ago
maybe you can do this
No description
Maru
Maru15mo ago
did you have any particular reason why we shouldn't use hidden?
Vp
Vp15mo ago
Because of this, https://filamentphp.com/docs/3.x/forms/fields/hidden what if someone inspect element and change user id to another? Someone can hack your site using html inspect.. 😆
PaulaAndrea
PaulaAndreaOP15mo ago
thanks guys, I will try with the implementations and I will let you know how it goes.

Did you find this page helpful?