Hello
I need to integrate chronoforms in K2 articles and pull email address from the extended fields of the k2 articles.
In k2 templates, here s the code i use to extract extended fields
and then to display the field i want
Any idea on how i can get the $extrafieldsid[4] to be used in chronoforms ? I ve tried some things but the variables are not recognized
Thanks
I need to integrate chronoforms in K2 articles and pull email address from the extended fields of the k2 articles.
In k2 templates, here s the code i use to extract extended fields
<?php
$extrafieldsid = array();
foreach($this->item->extra_fields as $itemid){
$extrafieldsid[$itemid->id] = $itemid->value;
}
?>
and then to display the field i want
<?php echo $extrafieldsid[4];?>
Any idea on how i can get the $extrafieldsid[4] to be used in chronoforms ? I ve tried some things but the variables are not recognized
Thanks