• 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: Get userid in submission form

Get userid in submission form 3 years 1 month ago #41921

Hello,

In php scripts section, this doesn t work (joomla 4, RSForm Pro V3.0.16 ):

list($replace, $with) = RSFormProHelper::getReplacements($SubmissionId);
$userID = str_replace($replace, $with, '{global:userid}');

$userId seems empty.

Any idea?
The administrator has disabled public write access.

Get userid in submission form 3 years 1 month ago #41922

  • bogdan.tataru
  • bogdan.tataru's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 174
  • Thank you received: 40
Hello,

You will have to make sure that you are adding this script in "Scripts called after form has been processed". Afterwards test this once more.
My help is not official customer support. To receive assistance, submit a ticket by clicking here
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!