• 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: On click show 2 fields

This message has been removed by user's request. 15 years 5 months ago #11419

  • 54da7a6089bad0cdb5198797e64825f2
  • 54da7a6089bad0cdb5198797e64825f2's Avatar
This message has been removed by user's request.
The administrator has disabled public write access.

Re:On click show 2 fields 15 years 5 months ago #11436

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 745
  • Thank you received: 66
Hello,

From what I can see you only have the conditions for one field, you will need to add the second field as well, for example:
if(document.getElementById('lint').value == 'Ja'){
document.getElementById('lint_kleur').style.display="";
document.getElementById('lint_afscheid').style.display="";
}
else{
document.getElementById('lint_kleur').style.display="none";
document.getElementById('lint_afscheid').style.display="none";
document.getElementById('lint').value="";
document.getElementById('helement').setAttribute("class", "formNoError");
}
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
Last Edit: 15 years 5 months ago by andreic.
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!