Hi
In Chronforms 5 i had a custom code to merge "firstname" + "lastname" to "name" to subscribe (via CURL) to a Acymailing Newsletter.
All the Best
Christoph
In Chronforms 5 i had a custom code to merge "firstname" + "lastname" to "name" to subscribe (via CURL) to a Acymailing Newsletter.
<?phpUnfortunately it doesn't work in chronforms 6 anymore.
$form->data['name'] = "{$form->data['firstname']} {$form->data['lastname']}";
?>
All the Best
Christoph
$this->data("fieldname") to get the value
$this->data("fieldname", "value", true) to set a value
Or just use both data fields in the Curl action
$this->data("fieldname", "value", true) to set a value
Or just use both data fields in the Curl action
curl_field_name:{data:firstname} {data:lastname}
This topic is locked and no more replies can be posted.