• 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: {field_name:text}

{field_name:text} 10 years 6 months ago #29209

Hi,

I bought time ago you RSform PRO 1.4 Rev 43 for Joomla 2.5
In a form of the web, there is a dropdown menu that contain countries (reading from an external database):

//<code>
$items = "|- Please Select -[c]\n";
$db =& JFactory::getDBO();
$db->setQuery("SELECT id, printable_name FROM `#__countries`");
$result = $db->loadObjectList();

foreach ($result as $r)
$items .= $r->id . '|' . $r->printable_name . "\n";

return $items;
//</code>

that work fine !!

But on the email the client receive the value {Country:value}, and they want to receive the name of the country.
i saw that by doing {Country:value}, we will receive the name of the selected item, but it doesn't work to me. It is because of the version?
thanks in advance.
The administrator has disabled public write access.

{field_name:text} 10 years 6 months ago #29240

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Dropdown items are created using the following sytnax : value | label. In order to display the label, the {field_name:text} placeholder must be used. Please update the component to the latest version and see if this issue persits

More information on Dropdowns can be found here:
http://www.rsjoomla.com/support/documentation/view-article/827-dropdown.html
My help is not official customer support. To receive your support, 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!