I have a form with an Address block which is designated as required. I am trying to hide the State / Country field using the Javascript technique described in the Laserfiche Forms Help section. (Feature Suggestion: You should take a look at how Gravity Forms manage their Address Block).
$(document).ready (function () {
$(".Country").parent().children().css('display', 'none');
})
I have not renamed or changed anything about the field using any other Javascript or CSS, so technically, this should work out of the box.
When using the form however, the Country Field is 'hidden', but the form will not validate. It shows a "required field" error, where the Country Field would normally be located.
The Address block is part of a "Company Details" section which is hidden until a check box is selected.
Any guidance would be appreciated.
Kind Regards,