1. We apologize for the slow support at the moment. Hugh (cheesegrits) is scheduled for some major back surgery this month to repair two ruptured discs which are severely hampering his ability to work, and one of our stalwart community support members is on vacation for the month. Please bear with us.

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