Support

Account

Home Forums Front-end Issues Front-end Form: Redirect after Save Reply To: Front-end Form: Redirect after Save

  • Thanks guys, it works great.

    Question: how would you about create multiple forms on the same page?

    I need to build a page with multiple tabs, each one has a button to create a new post in a different post type.
    Example:
    tab 1: <button>Create new store</button>
    tab 2: <button>Create new employee</button>
    tab 3: <button>Create new team</button>

    Since the post type is defined in the arguments in PHP I cannot figure out how to make this dynamic, example: you click on tab 1 the post type for the presaved post will be “Store”, you click on tab 2 then the button saves an “employee”… and so on.

    Any help will be welcome,