• 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: how to send custom data by e-mail

how to send custom data by e-mail 11 years 3 months ago #26186

  • bazic
  • bazic's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi.
I need to convey variable (&product) in message is passed in the query string.
ie yourwebsite/index.php?option=com_rsform&formId=5&product=12345

I did so:
1. In the $formLayout string i add next code
$product = $_GET['product'];
echo $product;
all fine, it working, i see text 12345 before form.
Now how add this as a variable in a letter (Admin Email)?
The administrator has disabled public write access.

how to send custom data by e-mail 11 years 3 months ago #26187

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

Displaying it along with the form is actually normal. The $formLayout variable contains all the code needed to generate your form.

You can try this approach:

- capture the parameter value from the URL as explained in the following article within a hidden field:

www.rsjoomla.com/support/documentation/v...can-i-catch-it-.html

- use the hidden field's placeholder within the Admin Email body. The following article explains the generated RSForm!Pro emails in a more detailed way:

www.rsjoomla.com/support/documentation/v...p-email-scripts.html
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.
The following user(s) said Thank You: bazic
  • 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!