Forum Moderators: open
For a e-commerce website I use this kind of form:
<form method="get" action="../additem.php">
<input type="hidden" name="item_name" value="Love frame">
<input type="hidden" name="item_number" value="FR-05">
<input type="hidden" name="amount" value="23.00">
<input type="image" src="../images/buttons/sc-but-03.gif" class=addbutton name="submit" alt="Love frame">
<input type="hidden" name="add" value="1">
</form>
The problem is that SOMETIMES the datas are correctly send to the additem page, and SOMETIMES not (the fields I get are empty).
What could be the reason for this?
What could I do to stabilize the behaviour of this form?
Did I forget some parameters for the form?
Thanks very much for helping.
Paul.
Your code looks good for the form. You should check your coding of the data-receiving page. Also, when you submit the form info, check in the url if all of the variables are set and available. Other than this, i would really need more information to help you with your problem.
Good luck!