I would appreciate some assistance. I am very green when it comes to programming so please excuse my lack of understanding / number of questions
I have two sites for a client, both of which use a similar form structure, both of which are built in PHP. The form is a quotation request form with 3 pages on it, the last of which has an area for the customer to enter their contact details and also has a ‘comments’ section for them to submit specific comments regarding their enquiry. I have attached a screenshot of this page for reference.
When a customer submits the quote, and email is sent to the company and it specifies the contact details, what the enquiry was in relation to, and the location. Here however is the issue. On one of the sites, anloffshorecontainers.com.au there is no issue. Comments submitted are transferred in the emai.
The other site however, anlcontainers.com.au sends the details to the client capturing everything except whatever is included in the ‘comments’ box on the form.
I compared the code between the two sites for this form, and as I said I am not a programmer, but found the only difference was that on the form that was working (on the attached coding titled ‘OFFSHORE’) there is the code: id=“comment” inserted within the relevant section of code, however this is missing off the coding for the site that has the issue (called ‘MAIN’ on the attached).
I thought perhaps this was the issue so added this id=“comment” into the code on the php template in WordPress and it has made no difference.
How do I fix this so that the comments are sent in the email to the client for the site having issues?
For my own learning, what does id=“comment” mean? I assumed this picked up text in the comments section and transferred with the email, however I may be completely off track.
I have attached the relevant code pieces I refer to, along with the full code for the page on which we are having issues where this id=“comments” is missing on line 223.