• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Passing a form field value in the php script area?

Passing a form field value in the php script area? 9 years 5 days ago #34928

  • chris682
  • chris682's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hi,

I am running a php script added to the 'on form process' script area.

This script relates to an affiliate tracking component and is working great, but I am wondering if I can pass any of the completed form fields into this script as variables from RS Forms Pro?

The script at present is here:

$conversion_data = array(
"name" => "Affiliates Submission",
"component" => "com_rsform",
"extended_name" => "Affiliates form submission",
"type" => 1,
"value" => 100,
"reference_id" => 123,
"approved" => 0,
);

The affiliates form itself created with RS Forms Pro has a surname and forename field which the user completes. I was hoping I could pass these into the 'Name' field in the above script possibly with an appropriate string/variable from the form submission process.

Not sure if that makes sense, but if it does, is it possible?

Thanks for any advice.

Chris
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!