Good Morning Everyone!!
I have been working on a little project for the past two months which started off as a Google Sheet and I’m now trying to expand it into a website. I’m learning coding as I go along and have managed to accomplish a decent amount however there are still a few things I’m trying to figure out and can’t for the life of me.
-
I’m trying to create a feature where during an employee’s shift, they enter multiple reports via a PHP form - these reports do not all consist of the same template/form. The goal is to be able to view the combined submitted reports (as a full report) on the same page and at the end of a shift email them all as one email with HTML. Is there a way to send forms to a dedicated page and keep piling them up until they are submitted somehow as one email at which point they are cleared from that page?
-
I have created two methods of emailing individual PHP forms. One excludes any blank fields but does not allow me to customize the email body with HTML combining multiple inputs on the same line and eliminating the label for some fields, ie.,
Instead of:
Label 1: Input 1
Label 2: Input 2
I’m trying to get:
Label 1: Input 1 - Input 2
The second method allows me to customize the email with the above and HTML, however it includes empty fields.
Is there a way to customize the PHP form’s email with the desired results, while excluding the label and input for fields left empty?
I’ve been trying really hard and cannot seem to find a solution. Any help at all is extremely appreciated!!