• Resolved Fantou

    (@fantou)


    Hello

    I’m trying to create a “steps forms” and I would like to do this : if the answer is B at the first answer, then the form must display a message “sorry, this form is not for you” and don’t send a message (the send button must not appears)

    Also, like it’s a form with steps, I would like to skip pagination with the same answer

    Is it possible to do this with FOrminator ?

    ( I’ve tried with this : https://gist.github.com/wpmudev-sls/84abfd95ea5f94426e05115d02a60c43

    The steps are skipped but before that, the error message is displayed and then the success message is displayed. And I received a lot of message in my inbox not only one when I click on “Send” )

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

    (@wpmudev-support8)

    Hi @fantou

    I hope you’re well today!

    You can use a visibility conditions based on the field value. For example, you can add a HTML field (with the same “Sorry, this form is not for you” text) to each page of the form and then:

    1. Set visibility condition for these fields to show them based on the choice in other field (e.g. “if the answer is B at the first answer”) – this would show a message to the visitor who fills-in the form

    2. and set “opposite” (so to hide instead of show) visibility condition for the submit button based on the very same rule.

    This would cause form to show message and prevent submission. Here is more about visibility conditional settings:

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#Forminator-Conditional-Logic

    As for skipping pages, there’s not such feature in the plugin currently. You can hide fields on pages (using the same conditional logic) to skip them and together with solution described above the script (that you already tried) should let you skip pages but please note:

    – we cannot guarantee that this script will still work with current version of the plugin; this kind of scripts were always created for very specific cases with specific plugin versions and we do not maintain them under active development

    – any kind of custom development/coding (that includes modifications/updates of custom scripts such as the one you are referring to) are out of the scope of this support, I’m afraid.

    Kind regards,
    Adam

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @fantou,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to open a new thread if you need any further assistance.

    Kind Regards
    Nithin

    Thread Starter Fantou

    (@fantou)

    HI @wpmudevsupport11 ,

    Sorry for the late reply. And thank you for your complete answer, it helps.

    Have a nice day

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