Title: trigger a cff-gotopage
Last modified: April 1, 2022

---

# trigger a cff-gotopage

 *  Resolved [Erez Speiser](https://wordpress.org/support/users/erezspeiser/)
 * (@erezspeiser)
 * [4 years ago](https://wordpress.org/support/topic/trigger-a-cff-gotopage/)
 * 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](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years ago](https://wordpress.org/support/topic/trigger-a-cff-gotopage/#post-15516907)
 * Hello [@erezspeiser](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/trigger-a-cff-gotopage/#post-15516907)
 * Status: resolved