Input Validation in QueryOpen

Hello, can someone give me an idea of how I can do an input validation in the QueryOpen on a form using LotusScript? I need to validate a few fields that are on different subforms. Basically, what I need to do is to check if these fields are blank, then prompt an error message saying to create a document. Thanks in advance.

Subject: Input Validation in QueryOpen

You should be able to simply do something like the following:

If form.filedA(0) = “” Then

’ Create a new doc code here

End If

Shawn