Hello!
My company uses ChronoEngine to easily create forms. I've been asked to integrate an API call to register the user to a remote service. I have to generate the password and send it via email. My idea was to use the "Custom Server Side Validation" in order to do everything and, in case of success, add the generated password to the form data, which should then be sent along the usual info (name, username, password etc).
I've got a problem and a concern:
1. even if I use the PHP tag to start and end the code, when I submit the form I see the code being printed and not being executed. I tried with the following code:
2. if I write the $form data, will it be available in the email template? i.e. adding a new field.
Thanks
My company uses ChronoEngine to easily create forms. I've been asked to integrate an API call to register the user to a remote service. I have to generate the password and send it via email. My idea was to use the "Custom Server Side Validation" in order to do everything and, in case of success, add the generated password to the form data, which should then be sent along the usual info (name, username, password etc).
I've got a problem and a concern:
1. even if I use the PHP tag to start and end the code, when I submit the form I see the code being printed and not being executed. I tried with the following code:
<?php
var_dump($form);
return false;
?>
2. if I write the $form data, will it be available in the email template? i.e. adding a new field.
Thanks