simonusher3
posted this
14 July 2020
Hi Ela,
You do need to add an email field to the contact form, once created and exported to HTML, to reply direct from your email client, you will need to edit the scripts/form-****.php file and where it says:
$form = array(
'subject' => 'New Enquiry',
'email_message' => 'You have a new form submission',
'success_redirect' => '',
'email' => array(
'from' => ' ',
replace 'from' => ' ', with the following:
'from' => $_POST["email"];
Now you can reply direct to the sender but, remember, if you update anything on your nicepage site, you will need to edit the form.php file again as it will be overwritten or at least don't upload this file on to your server if you haven't changed your contact form.
Regards,
Simon.
Hi Ela,
You do need to add an email field to the contact form, once created and exported to HTML, to reply direct from your email client, you will need to edit the scripts/form-****.php file and where it says:
$form = array(
'subject' => 'New Enquiry',
'email_message' => 'You have a new form submission',
'success_redirect' => '',
'email' => array(
'from' => ' ',
replace 'from' => ' ', with the following:
'from' => $_POST["email"];
Now you can reply direct to the sender but, remember, if you update anything on your nicepage site, you will need to edit the form.php file again as it will be overwritten or at least don't upload this file on to your server if you haven't changed your contact form.
Regards,
Simon.
Last edited 14 July 2020 by simonusher3