• 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: RSForm and Joomla Users

RSForm and Joomla Users 10 years 10 months ago #28119

  • son4r
  • son4r's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hello!
Imagine a situation if you need to make a form only for registered.
I wouldnt like to ask the registered users to fill in the Organization, Name and Email again and again. If I remove these fields I will not have a possibility to use {emailValue}-like elements.

Is there a way to read these parameters from Joomla login session and include this data into automatic emails.
The administrator has disabled public write access.

RSForm and Joomla Users 10 years 10 months ago #28120

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
For example to grab the user's name you will have to add in the Default Value:
//<code>
$user = JFactory::getUser();
return $user->get('name');
//</code>

In the following article you can find specific examples on how to achieve your desired scenario :
http://www.rsjoomla.com/support/documentation/view-article/77-display-php-variables-by-default-when-form-is-shown.html
My help is not official customer support. To receive your support, submit a ticket by clicking here
Last Edit: 10 years 10 months ago by cosmin.cristea.
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!