1. Hugh is now back at work, more or less full time, after a slower than expected recovery from his neck surgery early this month. Obviously we have a backlog of support to clear, and are working as hard as we can to take care of it. If you have an unanswered thread more than 3 days old, please post one (and only one) "bump" on it, to move it in to our "last 3 days" list. If you have an unanswered issue in a forum you no longer have access to due to subscriptions timing out, please use the Contact Us form, and provide us with the URL to the thread.

How to pass values to form outside of Fabrik

Discussion in 'Fabrik 3.x Testing' started by mrmcbobit, Apr 13, 2012.

  1. mrmcbobit New Member

    Level: Community
    Hello all.. I have an earlier post, http://fabrikar.com/forums/showthread.php?t=25854 which basically asking for help on passing PHP code to a payment processor via Fabrik. However based on the response there and in the lack of response in my Help wanted request: http://fabrikar.com/forums/showthread.php?t=25855, I'm trying something a bit different, its a bit ugly this way but it may work and I could use some feedback.

    Basically what I want to do is simply pass along a few of the form values in my Fabrik form, such as the from ID, the date, and maybe one to two others and pre fill them on a new form that is a php file sitting outside of Joomla and Fabrik.

    Basically I created a subdomain and set the payment processor form there, the end user will have to submit the Fabrik form then be redirected to the payment process form where I'll have some type of confirmation info and those vaules I mentioned above from the fabrik form and they'll submit again and then be taken to the payment processor page for payment.

    If you want to see the example you can look at http://payment.foxapts.com/Example_Form.php

    So, can anyone point me in the right direction on how to pass the form values to another form?

    Thanks,
    Bob
  2. rob Administrator

    Level: Community
    you can do this with the redirect form plugin, which can use {placeholders} to insert the fabrik form's values into the redirect url.
    Then it would be up to your custom form to get those values from php's $_GET array and populate the form's values with the url's data

Share This Page