Form validation on exit?

Is there a good way or a option to validate a form field on exit (or save).

I mean like a web form where i hit the save button and after them apears a Popup with the fields witch im should enter.

The input validator on the fields himself is a littebit &"%&")!, because on every field poping a new popup up.

I must fill the form in the order from the form!!!..

Tanks in advance for any help :wink:

P.S. its a Notes Client App

Volkan

Subject: Form validation on exit?

Suppose your form has three fields. All fields are required. The validation formula for Field3 might be:

Temp:=@Trim(@if(Field1=β€œβ€;β€œField1”;β€œβ€):

@if(Field2=β€œβ€;β€œField2”;β€œβ€):

@if(Field3=β€œβ€;β€œField3”;β€œβ€));

@if(!@IsDocBeingSaved | Temp=β€œβ€;

@Success;

@Failure(β€œThe following fields must be completed: β€œ+@Implode(Temp;” ,”))