Jak skonfigurować dwa przyciski Submit?

  • pisar1616
    Asked on 2 września 2024 10:49

    Jak ustawić drugi przycisk wyślij formularz by przekierowywał do innej strony końcowej niż pierwszy?


    Jak skonfigurować dwa przyciski Submit? Image 1 Screenshot 20

  • Cyrus Jotform Support
    Replied on 2 września 2024 12:33

    Hi pisar1616,

    Our Polish Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Polish, let us know and we can have them do that. But, it might take a while until they're available again.

    Now, returning to your question, based on the screenshot, I understand that you want to configure each button to redirect the user to a different 'Thank You' page after submission. But, both buttons currently seem to have the same function. Unfortunately, Jotform doesn’t support multiple submit buttons that behave differently by default. What you can do instead is add a dropdown element to your form and configure the Conditional Logic to customize the 'Thank You' page action based on the selection. Let me show you how.

    1. In Form Builder, under Build tab, click on the Add Form Element button on the upper left side of the screen.
    2. Under Basic tab, click or drag the Dropdown element into the form.
    3. Rename the field to your preferred name.
    4. Add and Save options for Złóż zamówienie i zapłać and Złóż zamówienie i zapłać teraz.

    Jak skonfigurować dwa przyciski Submit? Image 1 Screenshot 60

    After that, we can go ahead and setup Conditional Logic.

    1. Go to Settings tab, select Conditions on the left side menu.
    2. Click on Change Thank You Page. Jak skonfigurować dwa przyciski Submit? Image 2 Screenshot 71
    3. Copy the configuration below for Złóż zamówienie i zapłać and Złóż zamówienie i zapłać teraz.
    4. Make sure to enter the correct URL for each selection so that when the user submits the form, they are redirected to the appropriate page.Jak skonfigurować dwa przyciski Submit? Image 3 Screenshot 82 Jak skonfigurować dwa przyciski Submit? Image 4 Screenshot 93
    5. Don't forget the to click the Save button.

    Check out my screencast below to see the results: Jak skonfigurować dwa przyciski Submit? Image 5 Screenshot 104

    You can find my demo form here. If you’d like to see how the Conditional Logic has been configured, feel free to clone my form to your account to get access to the settings. Click here to see how to clone the form. We also have a guide to help you learn how to Change Your Thank You Message Conditionally and Change the Thank You Page URL Conditionally.

    Give it a try and reach out again if you have any other questions.

Your Answer