I replied to you earlier but somehow this reply doesn't show up I discovered!
I have tried your suggestion but am still not able to get this working.
I've changed the formmail
<FORM ACTION="/cgi-bin/FormMail.pl" METHOD="POST">
<FORM ACTION="email.php" METHOD="POST">
added the email.php and changed the form to work with the email.php
After the alterations everything works o.k. and same as before the change: When the visitor fills-in the form and sends it I receive the email with all the options filled in by the visitor (like before).
Unfortunetaly I don't manage to get the form pre- filled-in with the requested product from which the visitor has left (e.g.Superfax2000) before he/she entered the contactpage.
Should the line
be somewhere on the productpage e.g. Supervax2000.html?
Where should I put the PHP code
// (At the top of the page)
// remove any HTML tags etc from input
$product_name = filter_input(INPUT_GET, 'product_name', FILTER_SANITIZE_STRING);
<!-- Inside your form tags -->
<input type="hidden" name="subject" value="Information request for: <?php echo $product_name ?>">
I guess I have to adapt the email.php as well.
I tried several ways to adapt/add the lines but still see not output in the email I receive ones the request has been sent.