Hello,
i have a form, where the user has to enter his firstname and his lastname seperately. Now I want, that the email from name contains his firstname and his lastname. How to do this? I have alreadey entered both fieldnames in the dynamic from field, but then no name is shown.
i have a form, where the user has to enter his firstname and his lastname seperately. Now I want, that the email from name contains his firstname and his lastname. How to do this? I have alreadey entered both fieldnames in the dynamic from field, but then no name is shown.
Hi Samifighter ,
Which version of ChronoForms are you using? The answer is different for v3 & v4
Bob
Which version of ChronoForms are you using? The answer is different for v3 & v4
Bob
I am using v4
Hi Samifighter,
Drag a Custom Code Action to the On Submit Event, click the spanner icon and add this to the code box:
Bob
Drag a Custom Code Action to the On Submit Event, click the spanner icon and add this to the code box:
<?php
$form->data['name'] = $form->data['firstname'].' '.$form->data['lastname'];
?>
Bob
Thank you. Not only for the code but also for this great component.
This topic is locked and no more replies can be posted.