I'm facing a issue when I try to hide objects (RUN-Button and Display Field) on a form.
With following Custom Code on the Form I try to hide / show several objects based on one condition (Display Object "disp_ang_rechnung" is empty):
Code: Select all
if($('#disp_ang_rechnung').val() === ''){
$('#disp_ang_rechnung').hide();
$('#run_rechnung').hide();
$('#run_rechnung_neu').show();
}else{
$('#run_rechnung_neu').hide();
}
After pressing the refresh button of the Form the objects will be showed or hidden - based on the condition. What did I miss ??
Thanks in advance and best regards,
Oli