• 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 Reset selections made in a conditional field ?

How Reset selections made in a conditional field ? 9 years 4 months ago #33530

  • linkspot
  • linkspot's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello !
I've found several forum posts and articles in the documentation about clearing conditional fields when a new selection is made in a certain field, however i am a very beginner coding and i can not make it work.

My form is:
choose a product
Conditional radio group
YES (show dropdown)
NO (hide dropdown)
dropdown:
Choose product
product 1 [p+1]
product 2 [p+2]
product 3 [p+3]

Total: 2

However, it does not clear the values when i choose radio: NO .
I have this scrip in in Scripts called on form process:

if ($_POST == 'choose')
{
$_POST[0]
}

See image : ecoportugal.com/rsforms/clear-incondicional-fields.jpg

I wonder if Someone to help me ?
Thanks in advance,
Regards !
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!