A
angiemoraisJul 11, 2019
Hello!
How do I configure the email that will receive the contacts from the Newsletter form? PHP is different from the one for the common contact form.
Hello!
How do I configure the email that will receive the contacts from the Newsletter form? PHP is different from the one for the common contact form.
Hello,
If you need to receive the Emails from a Newsletter Form, simply change the Form's action value to include/form.php File and add use one of the New Templates Form Codes to construct your Newsletter Form. Example:
<div class="form-widget">
<div class="form-result"></div>
<form class="nobottommargin" id="template-newsletter" name="template-newsletter" action="include/form.php" method="post">
<div class="form-process"></div>
<div class="row">
<div class="col-6 mb-3">
<label for="template-newsletter-first-name">First Name <small>*</small></label>
<input type="text" id="template-newsletter-first-name" name="template-newsletter-first-name" value="" class="form-control required" />
</div>
<div class="col-6 mb-3">
<label for="template-newsletter-last-name">Last Name <small>*</small></label>
<input type="text" id="template-newsletter-last-name" name="template-newsletter-last-name" value="" class="form-control required" />
</div>
<div class="w-100"></div>
<div class="col-12 mb-3">
<label for="template-newsletter-email">Email <small>*</small></label>
<input type="email" id="template-newsletter-email" name="template-newsletter-email" value="" class="required email form-control" />
</div>
<div class="col-12 hidden">
<input type="text" id="template-newsletter-botcheck" name="template-newsletter-botcheck" value="" class="form-control" />
</div>
<div class="col-12">
<button class="btn btn-secondary nomargin" type="submit" id="template-newsletter-submit" name="template-newsletter-submit" value="submit">Subscribe</button>
</div>
</div>
<input type="hidden" name="prefix" value="template-newsletter-">
</form>
</div>This should definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard