Recently Browsing 0 members
No registered users viewing this page.
I have a page which sends out an email based on queries in the url
<?php // event ID $eventID = $input->get('eventID','int'); $event = $pages->get($eventID); // config $adminEmail = "firstname.lastname@example.org"; $fromEmail = "email@example.com"; $fromName = "test"; $emailSubject = "Test Email"; // HTML BODY $emailBody = ""; // HOW TO ??? … // send mail $m = new WireMail(); $m->to($adminEmail); $m->from($fromEmail, $fromName); $m->subject($emailSubject); $m->bodyHTML($emailBody); $m->send(); ?> The email body is a bit complex: standard html/css tables and some php (pw variables).
I put my emailbody (html) in a seperate file emailbody.inc but don't know how to include it?
My form is not getting submitted, it is showing:
Unable to verify successful email delivery of this form submission.
Attaching for your reference as well:
In the Backend, it is showing Connection timed out with smtp.gmail.com
Pl guide me how to resolve that
Can you tell me if it is possible to build a form with Form Builder https://processwire.com/store/form-builder/ having checkboxes with input field option? So on the frontend there would be a checkbox like "Other" where you can enter something yourself.
What I am having in mind is this
What is the best practice for having a form (only accessible to a logged in user) save the user's progress between sections of the form? Fieldsets? Multiple forms?
Use case: I have a very long application form that would take 30 minutes for the applicant to fill out and I would hate for all progress to be lost due to user error. The progress needs to be logged into the user's page.