Skip to main content

Forms - Allow option to pass in own "Success" function

Allow partners the option to pass in their own "success" function after submission- so they can stay on the same Page instead of redirecting - or carry out an alternative action of their choice.

Status: Completed7 comments

Log in to comment and vote

Comments7

  • Matt Walter changed status to Completed
    Team•

    Jan 23, 2024

  • Matt Walter changed status to Planned
    Team•

    Sep 22, 2023

  • Matt Walter

    Team•

    Oct 30, 2020

  • Casey Jeppesen

    •

    Oct 6, 2020

    I figured out a partial work-around.
    In siteglide-cli > formconfigurations > forms > form#.liquid, i deleted "return_to: "/#"
    and also deleted "" from the form layout
    this keeps the user on the same page after form submit. we wrote some if/then statements on that page, to show different blocks after submit. works well for our purposes.

    • Casey Jeppesen

      •

      Nov 6, 2020

      *Note - this workaround is temporary, as it breaks as soon as the form is saved in admin portal (or other form/module updates are done).

  • Casey Jeppesen

    •

    Oct 6, 2020

    PLEASE implement this as soon as possible.