on-internet
← Community

Refocus back to data field if content is empty in Syspro

Stack Overflow ·

I want to write VBScript that will keep stating that a field must be populated until that field is populated. This is what I have but it does not force the field to be populated: Function ContactDetails_OnSubmit() If ContactDetails.CodeObject.SoldAddress2 = "" then MsgBox "SoldToAddr2 cannot be empty" End If End Function

Comments

Sign in or sign up to comment and upvote.

No comments yet.