mandatory field

Avatar

20-10-2008

Hi

I have a mandatory field and no submit buttons in the form.

I need to check whether the mandatory field is entered or not before click the Save button.

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

21-10-2008

Then you will have to fire the event yourself. On the Save button, before you actually execute the save, add the command fieldname.execValidate(). That should fire the appropriate event.