• 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: Populating form fields from URL

Populating form fields from URL 15 years 3 months ago #6572

  • necser
  • necser's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hi, I'm trying to have few fields values populated from the URL.

URL Example: .../index.php?option=com_rsform&Itemid=210&test=1111&viewkey=ZZZZ&test2=OTHER_VALUE

I created the form with the following fields:
Test
ViewKey
Test2

I now need to populate the values into the form from the URL.

Please help!
Thanks!!
The administrator has disabled public write access.

Re:Populating form fields from URL 15 years 2 months ago #6577

  • necser
  • necser's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Here's the solution. Can you guys think of anything better?

Enter the below into the default value box:

//<code>

$value = $_GET;
return $value;

//</code>
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!