• Resolved PB

    (@ohtusabes)


    Hi. Is there any possibility to customize different buttons for each page break? I mean, one for page 1/2, other for page 2/2, page 3/3, etc. Thanks un Advance.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @ohtusabes,

    Yes, you can.

    You can insert three buttons in the form and enter the following pieces of code as their onclick events:

    GOTOPAGE(0, this.form);
    GOTOPAGE(1, this.form);
    GOTOPAGE(2, this.form);

    As you can see the pages indexes begin at zero.

    Best regards.

    Thread Starter PB

    (@ohtusabes)

    Hi @’codepeople,

    That’s great. Thank you very much.

    Thread Starter PB

    (@ohtusabes)

    Hi @codepeople,

    I realize that the buttons I mean are the “next button label”. Is there a way to customize a different label for each page? Thank you.

    Plugin Author codepeople

    (@codepeople)

    Hello @ohtusabes,

    You can customize the labels by coding. For example, you can insert an “HTML Content” field in the form and enter the following piece of code as its content:

    <script>
    fbuilderjQuery(document).on('formReady', function(){	
    fbuilderjQuery('.pbNext:eq(0)').html('Text first button');
    fbuilderjQuery('.pbNext:eq(1)').html('Text second button');
    fbuilderjQuery('.pbNext:eq(2)').html('Text third button');
    fbuilderjQuery('.pbNext:eq(3)').html('Text fourth button');
    });	
    </script>

    Best regards.

    Thread Starter PB

    (@ohtusabes)

    Hi @codepeople,

    Great as usual. Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page break button’ is closed to new replies.