formContext = executionContext.getFormContext();
RequestTypeLookupName = formContext.getAttribute("requesttype").getValue()[0].id;
var FieldToSHow = formContext.getAttribute("fundingofficial");
if (formContext.getAttribute("requesttype").getValue()[0].name == "Parking")
{
FieldToSHow.setVisible(true);
} else
{
FieldToSHow.setVisible(false);
}
}
$(document).ready(function () {
$("#inspectselectionid").change(onDisplaySectionChange);
onDisplaySectionChange();
});
function onDisplaySectionChange() {
var varSubject = $('#inspectselectionid').find("setIsDirty(this.id)").text();
if (varSubject === "Parking") {
$('#logicalfieldtoshow').parent().parent().show();
}
else {
$('#logicalfieldtohide').parent().parent().hide();
}}


Report
All responses (
Answers (