Hi,
"Sorry, you can send the form only once" really is an error message, which is thrown, if a user clicks the submit button for the same submission more than once (for example because processing the form is slow, so that the page with the form, which was already submitted is still displayed for some time).
At the moment there is no specific form option "user can submit form only once" but there is a way to set this up.
Restrict a user to complete form only once, is obviously only possible if the form can only be submitted by logged in users, because otherwise it is not possible, if a user has already sumbitted the form.
You have to add a field to the form which is set by default to some of the user data from the Joomla! user (best option is the user e-mail address). Enable the "advanced" option "unique values only" for this field. This will prevent duplicate submissions from any logged in user. You can make this field readonly if you don't want the user to be able to change the value.
If you intend to use the
Visforms Subscription
feature "Edit data in frontend", which would allow users to edit data, which they have already submitted, there is a form option "Display edit link instead of form" (Basic form option). This options makes sure, that if a user has already submitted the form once, they will always see a link to the edit view instead of the form. (Assumed you have set up the complete feature properly as described in the
documentation
of the extension).
Regards,
Aicha