• Resolved niravnemali

    (@niravnemali)


    I have a page that’s only accessible to logged in users, and I want to set up a form that users can only submit once, and after a successful submission the form will only show a success message saying “you have already completed this form” to that user independent of what device they are logged into or if they refresh the page. Currently i have the form set up to hide after submission and only take 1 response per logged in user, but when the user refreshes the page they still see the form. It would also be nice to display somewhere on the page a list of forms the user has already submitted. Is this possible with forminator? If you have any additional questions about the details of the situation please reach out!

Viewing 1 replies (of 1 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @niravnemali

    I hope you’re well today!

    Currently there’s no out of the box way to do this. The limit that you have set doesn’t hide the form – it will only show an error message upon submission.

    Implementing this would require additional custom code.

    If you feel like coding it yourself, you could use:

    – “forminator_render_form_markup” hook to replace form’s markup with just a message
    – and Forminator API method “get_form” (see here) to get form configuration data from which you can read current limit settings – to decide if to return form markup or you custom message.

    However, providing custom development is out of the scope of this support, I’m afraid.

    Kind regards,
    Adam

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.