• 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: Drop Down list and Admin Email

Drop Down list and Admin Email 15 years 6 months ago #8591

  • jlopez6398
  • jlopez6398's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 1
Ok, so I have a drop down list using number values for each value:

1|Option 1
2|Option 2
3|Option 3
and so on and so forth...

So now comes the Admin email. I would like to for it to send the value (Option 1) not the "1".

Is this possible, if so could you please explain?
Joomla 2.5.4
RSTickets!
RSFormPro!
RSEvents!
RSFiles!
The administrator has disabled public write access.

Re:Drop Down list and Admin Email 15 years 6 months ago #8592

  • bogdanc
  • bogdanc's Avatar
  • OFFLINE
  • Moderator
  • Posts: 669
  • Thank you received: 11
Hello,

You can try adding a Hidden Field in your form that will be set a value based on the users selection from the Drop-down field. With the help of a script placed in the Form Layout tab you can set the hidden field to take the value "Option1" if the value returned by the drop-down list is "1" and the hidden field will take the value "Option2" if the value returned by the drop-down list is "2", and so on. After this you will be able to use the hidden fields placeholder in the Admin Email in order to return you the value "Option1" instead of returning "1".
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!