• 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: Show/Hide Form hidden field required

Show/Hide Form hidden field required 14 years 1 month ago #13149

  • keule55
  • keule55's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hallo,

I try to realize the Show/Hide Form Example at RSForm! but I have problems to make the hidden field required if displayed.
<script type="text/javascript">
function displayField(field)
{
if(document.getElementById('Find3').checked)
document.getElementById('helement').style.display="";

else {
document.getElementById('helement').style.display="none";
document.getElementById('FindOther').value="";

}
}

function validateFields()
{
if(document.getElementById('Find3').checked && document.getElementById('FindOther').value == '')
{
return false;
}
else
return true;
}

window.addEvent('domready', function() {
displayField();
});
</script>

The Problem here is that the Validation Message is not display.
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!