Form only one time

hubneraf 04 Oct, 2013
Hi all
it's possible write a form only one time?

I want that an user can fill the form only one time
when the form is complete and it's arrived the mail,
the user (registered) cannot write any more

thanks!!
GreyHead 04 Oct, 2013
Hi Hubneraf,

Yes, you can do that. Save the form results in a database table, including the User ID. In the On Load event add code to check the table, if there's no matching result show the form; if there is a matching result show a message instead, or redirect to another page.

Bob
hubneraf 04 Oct, 2013
hi bob
thank's for the answer😉

Save the form results in a database table, including the User ID.


how can do it?

In the On Load event add code to check the table, Bob


what kind of code?

Thanks so much🙂
GreyHead 04 Oct, 2013
Hi hubneraf,

Please see this FAQ about saving form data to a database table.

To check the data you could use a DB Record Loader action - if the record is found then the form has been completed. Or you could write a MySQL query to to do the check.

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