Change value

QuestionsChange value
Gustavo Lazaro asked 8 years ago

Hi Abu. You can change the value of a field , after leaving another field.

$col = array();
$col["title"] = "Period from";
$col["name"] = "periodoDesde";
$col["edittype"] = "select";
$col["editoptions"] = array("value"=>'201607:07-2016;201606:06-2016;201605:05-2016;201604:04-2016;201603:03-2016;201602:02-2016;201601:01-2016;201512:12-2015;201511:11-2015;201510:10-2015;201509:09-2015;201508:08-2015');
$col["editable"] = true;
$col["show"] = array("list"=>false, "add"=>true, "edit"=>true, "view"=>false);
$col["editrules"] = array("required"=>true);
$cols[] = $col;

$col = array();
$col["title"] = "Period to";
$col["name"] = "periodoHasta";
$col["edittype"] = "select";
$col["editoptions"] = array("value"=>'201607:07-2016;201606:06-2016;201605:05-2016;201604:04-2016;201603:03-2016;201602:02-2016;201601:01-2016;201512:12-2015;201511:11-2015;201510:10-2015;201509:09-2015;201508:08-2015');
$col["editable"] = true;
$col["show"] = array("list"=>false, "add"=>true, "edit"=>true, "view"=>false);
$col["editrules"] = array("required"=>true);
$cols[] = $col;

1 Answers
Abu Ghufran answered 8 years ago

Hello,

I am unable to understand your query.
Please explain more details. screenshot and full code might help.

You can email at [email protected]

Your Answer

10 + 4 =

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?