Subject Re: validRequired
From Akshat Kapoor <akshat.kapoor@kapoorsons.in>
Date Tue, 11 Jan 2022 22:43:51 +0530
Newsgroups dbase.getting-started

Good Evening Milind,

> Scenerio : Want a forced validation ongotfoucs
>
> How validRequired is used?

By now you must have learnt how to code valid() event. I am not going
into the details.

But there is a catch. valid is not executed() if there is no change in
value of entryfield

Setting the value of validrequired to true will force execution of
valid() event.

Select the entryfield on the form.
Scroll to the bottom of the inspector and you will see the validrequired
property.

Set it to true.

Now go to the events tab of the entryfield and click on the spanner at
the side of the valid event.

You will be taken to the code editor.

Change the event as required and then check.

Hope this helps

Regards
Akshat