• Resolved Graicifyd

    (@graicifyd)


    Is it possible to have an onclick event that goes to the next page and also submits the form?

    I have been able to use:

    jQuery(‘.pbNext’, ‘.pbreak:visible’).click();

    for next, but I want it to also submit the form at the same time.

    Thank you in advance. You have the best support team ever.

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

    (@codepeople)

    Hello @graicifyd

    That has no sense because submitting the form the user is redirected to the thank you page. However, if you want to receive emails with the information collected by the form by pressing the “Next Page” buttons, you can use the Data Collector plugin (https://cff-bundles.dwbooster.com/product/data-collector)

    Best regards.

    Thread Starter Graicifyd

    (@graicifyd)

    Thank you,

    the reason I wanted that ie because I want the next page to be another page in the form, but the regular submit form takes the user to another page on the website.

    Thanks.

    Plugin Author codepeople

    (@codepeople)

    Hello @graicifyd

    Exactly, a submit button submits the form, and the user is redirected to the thank you page. The data collector takes the values of the fields in the form (the values), and send them by email to the email address you indicate in its settings. This action does not affect to the public form, that will continue working as usual.

    Best regards.

    Thread Starter Graicifyd

    (@graicifyd)

    Alright, thank you so much…

    Thread Starter Graicifyd

    (@graicifyd)

    Just one last thing.

    Is there any onclick event for previous to take the form back in three steps?

    Plugin Author codepeople

    (@codepeople)

    Hello @graicifyd

    If you want jump from any page to the first page, insert a button field with the following piece of code as its onclick event:

    
    fbuilderjQuery.fbuilder.goToPage({form:this.form, to:0});
    

    Best regards.

    Thread Starter Graicifyd

    (@graicifyd)

    Thank you so much.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘DUAL ONCLICK EVENT’ is closed to new replies.