• 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 can I get the field caption

how can I get the field caption 7 years 3 months ago #37804

  • dima2841
  • dima2841's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
I can get the value of the field into PHP code in this area like that
$ _POST [ 'form' ] [ 'Email' ]

But how can I get the field caption or field description in this area ?

The administrator has disabled public write access.

how can I get the field caption 7 years 3 months ago #37814

  • dima2841
  • dima2841's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
If anyone is interested, here is the answer given by the support service


Such properties are not passed through the POST request (it really doesn't make sense to do that). You can however try:
$id = RSFormProHelper::getComponentId('name_of_field_here');
$data = RSFormProHelper::getComponentProperties($id);
print_r($data);
die;

$data is an array of properties, by using print_r() you can view the available properties:

$data holds the caption
$data holds the description
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!