hi,
how to insert id into checkbox hidden field? for example
<label for="sesso">Sesso *</label>
<input type="hidden" alt="ghost" value="" name="sesso">
For w3c validation i need to insert id inside input.
thanks
how to insert id into checkbox hidden field? for example
<label for="sesso">Sesso *</label>
<input type="hidden" alt="ghost" value="" name="sesso">
For w3c validation i need to insert id inside input.
thanks
Hi lapo78,
A few options,
+ You can disable the ghost unless you really need it.
+ You can upgrade to Cfv5 where the ghost has an id set
+ You can hack the code in /administrator/components/com_chronoforms/helpers/html_helper.php around line 484 to add an id:
Bob
A few options,
+ You can disable the ghost unless you really need it.
+ You can upgrade to Cfv5 where the ghost has an id set
+ You can hack the code in /administrator/components/com_chronoforms/helpers/html_helper.php around line 484 to add an id:
$output .= '<input type="hidden" name="'.$fieldname.'" id="'.$fieldname.'_ghost" value="'.$tag['ghost_value'].'" alt="ghost" />'."\n";
Bob
This topic is locked and no more replies can be posted.