Deactivate submit button while on layer
I am not yet comfortable with variable but at the moment I need to deactivate submit button while a layer is open.
I have put the Return button on the layer, but since the submit button is also active, some students may click the Submit button while they have to click the Return button instead. I have read a posting on a similar issue, unfortunately I cannot find it. Please guide me how to DEACTIVATE SUBMIT button while a layer is open.