This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

Redirect user to custom report after submitting


  1. MichaelW
    Member

    Hi

    I have a complex multipart form. I need to redirect the user to a printable report after submitting. The report will be generated on basis of the data provided by the user. Webhooks does not seem to work exactly like I would like to, as it's just a kind of notification. On the other side redirect to website after submitting option cannot pass so many arguments in the url... how to deal with such case? Any idea greatly appreciated.

    Best,
    michael

    Posted 9 years ago #
  2. yuniar

    I'm afraid there is no simple way to easily customize the thank you page beside using the template variables.

    You'll need to do some extra coding for this.
    I suggest to create a custom PHP page that pull the data from the backend database directly.

    Then use template variables into the redirect URL, something like this:
    http://www.yoursite.com/success.php?form_id={form_id}&entry_id={entry_no}

    Using the above, you'll have the form id number and entry number within the PHP page.
    Use the above values to do a query to the "ap_form_XX" table (XX is the form id number) with entry number above.

    This way, you can display the data using your own formatting.
    I suggest to hire PHP developer if you aren't familiar with PHP coding.

    Kind Regards,

    --
    Yuniar Setiawan
    Founder, Appnitro Software
    Web: http://www.appnitro.com


    MachForm Founder

    Posted 9 years ago #

RSS feed for this topic

Reply