Allow null or email format input

QuestionsAllow null or email format input
Kelvin asked 5 years ago

Dear Sir/Madam,

How can I set the edit rule to accept either null or email format input?

Best regards,

Kelvin.

1 Answers
anavarro answered 5 years ago

$col["editrules"] = array("email"=>true, "required"=>false);
$cols[] = $col;

Your Answer

15 + 10 =

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 / 5. Vote count:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!