validate field, if emty show alert

Questionsvalidate field, if emty show alert
Mario asked 8 years ago

Is there a function alterting a message when adding a record and one of the fields is not filled out?

1 Answers
Abu Ghufran answered 8 years ago

Pasting from docs:

You can add required rule to that column.
$col["editrules"] = array("required"=>true);

Refer validation section in docs.

Your Answer

12 + 11 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?