• Resolved Erez Speiser

    (@erezspeiser)


    Hi,

    I want to create a button on the first page of a multi-page form, that when clicking it will jump to the 3rd page of the form.
    I know it has to do with triggering the cff-gotopage, but what is the exact syntax I have to put in the button.

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @erezspeiser

    The process is simpler. You should insert a button on the page that calls the GOTOPAGE operation in its on-click event. The pages indexes begin in 0. So, the index of the third page would be 2.

    Please, enter the following piece of code as the on-click event of your button:

    GOTOPAGE(2, this.form);

    The plugin triggers the event after jumping to the page.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘trigger a cff-gotopage’ is closed to new replies.