Close button not respond to required field

ohio

Registered User.
Local time
Today, 23:26
Joined
Dec 20, 2000
Messages
13
Hello,

I have some fields which the "required" property is set to "YES". This means that the users got to fill up these fields before they close the form. I also add in a Close button into this form. The problem is this Close button won't respond to those "required" field upon closing the form, there is no any error message prompt me and it will not save this particular record instead. However, if i click the standard "X" button at the right top corner to close the form, there will be a message that "the .... field cannot contain a Null value..".

How to configure the Close button to work exactly as the standard "X" button?

thanks.
 
You need to write some code and assign it to both the Close button, and the On Close function of the form.

You need the code to check that the required fields are complete else don't close.

HTH,
Lee.
 

Users who are viewing this thread

Back
Top Bottom