Community Forums 

Main Content

discountpr

    Sep 16 2017 07:48:14

    #1

    pcguy

    Join date : 2008-09-18      Posts : 127

    When using discountpr instead of price if you accidently forget to put the price in the field like this

    <INPUT TYPE="HIDDEN" NAME="discountpr" VALUE="0,">

    instead of the correct way like this

    <INPUT TYPE="HIDDEN" NAME="discountpr" VALUE="0,500">


    you don't get the error message price not set. Is there a way to have it display the error or not.

    Graham



    Sep 17 2017 23:30:03

    #2

    Debbie Q

    Join date : 2008-09-18      Posts : 4990

    You could probably write some kind of script that says discountpr cannot = 0. I am clueless about writing scripts. I think the better thing to do is make sure you enter a value.

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.