• 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: Doubt with show/hide fields

Doubt with show/hide fields 13 years 5 days ago #13492

Hi!

I'm trying set a form for my site, using a demo "Show/Hide Form Example" and I need show/hide some fields with the radio buttons, in realy I need show multiple fields and hide others.
My doubt is with a part of this code:
function displayField(field){
if(document.getElementById('Find3').checked)
document.getElementById('helement').style.display="";
else {
document.getElementById('helement').style.display="none";
document.getElementById('FindOther').value="";
]document.getElementById('component27').setAttribute("class", "formNoError");}
}

my questions are:
Which is "component 27" ?
Where are "component 27"?
How I can get this data?

Thanks for your help...
Greetings from Uruguay!!!
The administrator has disabled public write access.

Re:Doubt with show/hide fields 13 years 5 days ago #13498

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

This is the id for the span that contains the "Validation message", you can retrieve this id by viewing the page source.
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: 13 years 5 days 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!