• 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 to show/hide multiple text fields

How to show/hide multiple text fields 10 years 7 months ago #28961

  • digisol
  • digisol's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hello to everyone,

I have made a form and I'd like to have a choice with a radio group and depending the choice, show or hide 4 text fields.

I have a choice for invoice into the form and the radio group has to choices: Invoice of Receipt. Below follows 4 text fields to fulfill the company elements and I want these 4 fields to show only when the choice of the radio group is Invoice otherwise not to be shown on the form.

Until now I have succeed to show or hide only one field but in my case I need it for more than one.

I already have search this forum, but I couldn't find anything about it.

Any help?

Thanks a lot.
The administrator has disabled public write access.

How to show/hide multiple text fields 10 years 7 months ago #28988

  • digisol
  • digisol's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Anyone who has faced the same problem???
The administrator has disabled public write access.

How to show/hide multiple text fields 10 years 7 months ago #28994

  • clucking
  • clucking's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 2
Just set in a condition (the same) for each of the four fields using Properties-> Conditions. Have just tried this and it works.
The administrator has disabled public write access.

How to show/hide multiple text fields 10 years 6 months ago #29015

  • digisol
  • digisol's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Dear clucking,

Thanks for your reply, but it didn't work. I already have tried the guide in the link below www.rsjoomla.com/support/documentation/v...-or-hide-fields.html and works for only one field. The other problem is that I want not to show the field when the page is loading but it is secondary problem.

My first priority is to make it work for four fields and with conditions it doesn't.
The administrator has disabled public write access.

How to show/hide multiple text fields 10 years 6 months ago #29020

  • clucking
  • clucking's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 2
Unless I misunderstand you, this is working great for me even without any programming.

I have created a radio group "Options" with two options: 1|Do not hide fields and 2|Hide fields.
Then two textboxes - text_1 and text_2.

Created one condition for text_1 and one for text_2. You create these on the properties page under Extras.

1. Show - block and label - text_1 if
all of the following match +
Options - is - Do not hide fields.

Save and close.

2. Same rule for text_2

Save and close.

Test.
The administrator has disabled public write access.

How to show/hide multiple text fields 9 years 10 months ago #31361

  • cusan
  • cusan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Change the Language.
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!