here are some core code to send forms from a tv it make
tree hidden, checkbox and radio.
in line 137 +/- middel a break and a case in the
archive tmplvars.format.inc.php in manager/includes
case "checkboxhiddenradio":
$value = parseInput($value,"||","array");
$tagid = $params[’tagid’];
$tagname = ($params[’tagname’])? $params[’tagname’]:’div’;
for($i = 0;$i<count($value); $i++){
$tagvalue = is_array($value[$i]) ? implode(" ",$value[$i]): $value[$i];
if(!$url) $url = $name;
$o.= "<$tagname value=".$tagvalue." ".($params["class"] ? " class=’".$params["class"]."’":"").($params["style"] ? " style=’".$params["style"]."’":"").($params["attrib"]? " ".$params["attrib"]:"").($params["attrib"]? " ".$params["attrib"]:"").($params["type2"] ? " type=’".$params["type2"]."’":"").($params["name2"] ? " name=’".$params["name2"]."’":"").">$tagvalue" ;
}
break;
and in line 109 of the mutate_tmplvars.dynamic.action.php
in manager/actions/dinamic
add
widgetParams[’checkboxhiddenradio’]= ’&tagname=Tag Name;string;input &tagid=Tag ID;string &type2=Type;string &name2=Name;string &checked=Checked;string;checked &class=Class;string &attrib=Attributes;string’;
and in the same archive in line 349 +/- down to the line ---------
put this
widgetParams[’checkboxhiddenradio’] = ’&tagname=Tag Name;string;input &tagid=Tag ID;string &type2=Type;string &name2=Name;string &checked=Checked;string;checked &class=Class;string &attrib=Attributes;string’;
and now you have full functional forms objet to dinamic change.
if people are interesting work for anothers like imputbox, dropdown....
hi to all