I have a simple contact form (name, email, subject, message, submit) that I have for users to make enquiries.
Is there an easy way to populate the subject input field depending on the URL that the user has arrived at the form from? The title of each page is pretty descriptive so even if I passed this data to the form it would alleviate the user from having to type out a subject line.
Any advice is greatly appreciated as I'm pretty new to PHP and am finding it hard to find examples of how this can be achieved.
:)