about the dynamic value of Conditional Formatting

Questionsabout the dynamic value of Conditional Formatting
Chao Shun Jenq asked 11 years ago

if we have set the format as below
———————————————
$f = array();
$f["column"] = "invdate";
$f["op"] = "eq";
$f["value"] = "2007-10-04";
$f["css"] = "'background-color':'Thistle'";
$f_conditions[] = $f;
———————————————
my question is:
may i set the dynamic value in $f["value"] ?
for expmple:
$f["value"] = "date('Y-m-d')";

1 Answers
Abu Ghufran answered 11 years ago

Yes, this is doable, after removing "" from date function.

$f["value"] = date('Y-m-d');

Your Answer

16 + 8 =

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?