Javascript Question
Posted: 15 Nov 2017
I've been looking at the documentation for the javascript and there is one example of what I'm trying to do....almost
fd.field('SOPCompl').change(function(){
if(fd.field('SOPCompl').value())
and (fd.field('AreaSOPCo').value(null){
alert('Please, enter an Area Supervisor');
*Set fd.field('SOPcompl') to false
}
});
What is the correctform I should be using when using two If statements? If the SOPCompl field has been change to true and AreaSOPCo is null
I also want the pop message to appear AND the SOPCompl value to be set to unchecked
fd.field('SOPCompl').change(function(){
if(fd.field('SOPCompl').value())
and (fd.field('AreaSOPCo').value(null){
alert('Please, enter an Area Supervisor');
*Set fd.field('SOPcompl') to false
}
});
What is the correctform I should be using when using two If statements? If the SOPCompl field has been change to true and AreaSOPCo is null
I also want the pop message to appear AND the SOPCompl value to be set to unchecked