• 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: retrieve parameter through a GET-request (url)

retrieve parameter through a GET-request (url) 16 years 3 months ago #6017

  • ali.khan
  • ali.khan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi, i want to set a parameter through a url in the browser and send a GET-request to a rsform form. Then retrieve and show the parameter in a 'Free Text' component or some other component-field. Is this possible? example request: domain.com/index.php?option=com_rsform&a...tertoSendKey=myValue
The administrator has disabled public write access.

Re:retrieve parameter through a GET-request (url) 16 years 3 months ago #6055

  • bwilhelm
  • bwilhelm's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I'm working on this as well....i will let you know if I come up with anything.
The administrator has disabled public write access.

Re:retrieve parameter through a GET-request (url) 16 years 3 months ago #6057

  • bwilhelm
  • bwilhelm's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Ok here is how you do it:

In the default value for your field, insert the code:

//<code>
$myvar = $_GET[\"myparametertoSendKey\"];
return $myvar;
//</code>


Make sure you include the //<code> tags as well. It won't work otherwise.
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!