Community Forums 

Main Content

Re:Newbie help with buttons

    Sep 20 2008 06:01:29



    Join date : 2008-09-18      Posts : 3226

    PukkaSkincare said: This is the code I am using for the form, could someone let me know if they see any issues with it?
    It appears to be working so far, but before I go and implement it on 100's of products, I just want to be sure nothing is going to jump out and bite me later.

    THANK YOU for your opinion!

    <form action=""; method="post">
    <input type="hidden" name="userid" value="E818152">
    <input type="hidden" name="product" value="Vani-T Tanning Mist">
    <input type="hidden" name="price" value="39.95">
    <input type="hidden" name=qty value="1">
    <input type="hidden" name="return" value="">
    <input type="hidden" name="units" value="250">
    <input type="image" src="../Images/Buttons/AddToCart.jpg" border="0" />

    The last line needs changing to the line I gave you previously:
    <input type="submit" src="../Images/Buttons/AddToCart.jpg" border="0" />

    You have to tell the form to submit, the attribute image will work but you will have issues with browsers.


    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.