If you Set Error Capture ON at the start of the script it will suppress the dialog you are seeing. However you will need to account for error possibilities in your script. Note, too, that the second line of the script you posted should nominate a field, not just say IsEmpty.
keywords - thank you for your response. I added Set Error Capture ON and still seeing the dialog.
This is what my If (IsEmpty) field looks like:
My script is as follow:
If [IsEmpty (stor_inventory::Job_Number)]
Show custom dialog ["FieldEmpty"; "Are all fields completed?"]
Exit Script (False)
Go to Layout (original Layout)
Where is the Set Error Capture step in your script?
I figured out where the error was dialog was coming from. Thank you for your help.