What I achieved so far:
1) User A fills the form and submits
2) user_id is saved to the database
3) User A revisits the form, database indicates, that there is an entry already with the user_id. A message is displayed, that the user A is only allowed to fill the form once.
Question: How to hide the form now or disable the submit button?
TIA
EDIT: Managed to add a custom code containing CSS. But is there a more elegant way?
1) User A fills the form and submits
2) user_id is saved to the database
3) User A revisits the form, database indicates, that there is an entry already with the user_id. A message is displayed, that the user A is only allowed to fill the form once.
Question: How to hide the form now or disable the submit button?
TIA
EDIT: Managed to add a custom code containing CSS. But is there a more elegant way?