Forums

How to make a form only once submittable?

joachimliedtke 25 Oct, 2019
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?
GreyHead 25 Oct, 2019
Hi joachimliedtke,

I think you can use an Event switcher in the On Load event. If the record exists show a message if not, show the Display Form action.

Bob
This topic is locked and no more replies can be posted.