Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

I need some help to make a text field mandatory if a check box has been ticked, I keep getting a SyntaxError: missing ; before statement 3: at line 4

$
0
0

if(this.rawValue =='Yes')
{
app.016Description0.mandatory = "error";

app.017EASAReference0.mandatory = "error";

app.018ComplianceStatement0.mandatory = "error";

app.019SupportingDocs0.mandatory = "error"


app.016Description0.mandatory.border.edge.color.value = "225,0,0";

app.017EASAReference0.mandatory.border.edge.color.value = "225,0,0";

app.018ComplianceStatement0.mandatory.border.edge.color.value = "225,0,0";

app.019SupportingDocs0.border.edge.color.value = "225,0,0";

}
else{

 

app.016Description0.mandatory = "disabled";

app.017EASAReference0.mandatory = "disabled";

app.018ComplianceStatement0.mandatory = "disabled";

app.019SupportingDocs0.mandatory = "disabled";


app.016Description0.mandatory.border.edge.color.value = "225,0,0";

app.017EASAReference0.mandatory.border.edge.color.value = "225,0,0";

app.018ComplianceStatement0.mandatory.border.edge.color.value = "225,0,0";

app.019SupportingDocs0.border.edge.color.value = "225,0,0";

}


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>