• 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: Conditional fields

Conditional fields 11 years 3 months ago #26391

Hello

I am new to the community and i have a question!

i have a form with conditional fields.For example lets say that i have a dropdown with countrys (Greece, Italy, Germany). When you choose greece there is another dropdown with cities, if you choose italy you have to choose(rome, milan, florence etc). Lets say that you choose italy and rome. i want to the email to be visible only the option you choose not all of them. Please ca you tell how to do it?
The administrator has disabled public write access.

Conditional fields 11 years 3 months ago #26393

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

RSForm!Pro uses your form's specific placeholders to return the submitted information. You can view these by clicking on the "Toggle Quick Add" button, located in the upper-right corner of User/Admin Emails(backend > Components > RSForm!Pro > Manage Forms > your form > Properties).

Basically you can use the value placeholders these dropdowns have in your generated emails. Example, assuming your first dropdown is called "countries":

{countries:value}

Adding this placholder will only return that particular selection, in your case it may return Italy for example. The same for the cities dropdown.

More information on the RSForm!Pro generated emails and the conditional fields feature can be found in the following articles:

www.rsjoomla.com/support/documentation/v...onfigure-emails.html
www.rsjoomla.com/support/documentation/v...ditional-fields.html
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.

Conditional fields 11 years 3 months ago #26395

Can you please more specific? According to my example what do i have to do

Countrys:Greece, Italy, Geramny.
(you choose italy and another dropdown is shown up)
Cities: Rome, Napoli, Milan

What do i have to do to shown up only the choosen one?
The administrator has disabled public write access.

Conditional fields 11 years 3 months ago #26399

  • seal305
  • seal305's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Thank you received: 1
In your email text put the tag

{countries:value}

"counties" should be the name of your dropdown
The administrator has disabled public write access.

Conditional fields 11 years 3 months ago #26403

Sorry for being annoying but i can't undestrand how the other fileds will not shown up?
The administrator has disabled public write access.

Conditional fields 11 years 3 months ago #26406

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

This is how the component was designed to work, if you are using dropdown(s), by adding the according placeholder, only the selection will be returned. Example:

Adding, within the email body:

{countries:value}
{cities:value}

Selecting in the form from the dropdowns:

Countries: Italy
Cities: Rome

The above placeholders will be replaced in the email with these selections only(it will not matter if you have 100x dropdown choices).
This is not official customer support. To receive your support, submit a support ticket 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!