• 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: Hidden files content conditioned by a drop down

Hidden files content conditioned by a drop down 9 years 6 months ago #32724

  • dieter5
  • dieter5's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
Hello:

I have a dropdown field "event" with two options:

c|Please select
Option A
Option B

I also have a hidden field "date" which I need the content be dependent on the event field above:

If the user selects "Option A"

The hidden field "date" should contain Oct 14th.

If the user selects "Option B"

The hidden field "date" should contain Oct 28th.

How can I achieve this?

Please advise.

Cheers.
The administrator has disabled public write access.

Hidden files content conditioned by a drop down 9 years 6 months ago #32740

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
You can try to implement this by adding multiple fields to your form and display them based on the selected option. You can use the RSForm!Pro Conditional Fields functionality for the show / hide part.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Hidden files content conditioned by a drop down 7 years 11 months ago #36861

  • dieter5
  • dieter5's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
Hello:

Can this functionality be achieve any other way instead of creating a field for each option?

The date based on the drop down option is also used in the thank you email. So it makes more sense to just place e.g. {Date:value} in the email rather than {Date1:value}{Date2:value}.

You suggested that I use the hide/show condition, but since this is a hidden field that never show up in the front end anyway, does this translate to the content being passed to the email for only the field that is flagged as show based on the condition?

Please advise.
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!