Hello,
I would like a button to be accessible only the first time the user visits and that he fills out the form and validate, once this is done the button should be disabled
To do this I would like to apply a condition: if the user has filled in the information, then logically we will find his name and we will be able to compare him with the connected user if we find his name the button is disabled otherwise he can access and enter the information.
example of what I want to do, but I have a mistake, probably 'patient'.

I hope I was understandable enough,
Thank you for your help