Hi,
We may need to get more information from you because you did not indicate
what you wanted the "test" to be (i.e. user role, field data, etc.)
However, here is a quick code example to test if a specific field is blank:
** NOTE: This would be done from the click event of a button:
Dim objField
Set objField = XDocument.DOM.selectSingleNode("//my:myFields/my:field1")
If objField.text = "" Then
XDocument.UI.Alert "Field1 must be filled in!"
Else
XDocument.Submit
End If
Let us know if you need more assistance!
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.