Community Forums 

Main Content

Syntax error: Price not set

    Sep 20 2008 18:43:40

    #1

    DaveShops

    Join date : 2008-09-20      Posts : 16

    Hi people,

    I need to have a place for people to place a deposit on an item.

    I have set up
    <INPUT TYPE="HIDDEN" NAME="product1" SIZE="-1" VALUE="Credit Card Payment">
    <INPUT TYPE="HIDDEN" NAME="units1" SIZE="-1" VALUE="1">
    <INPUT TYPE="HIDDEN" NAME="qty1" SIZE="-1" VALUE="1">
    <INPUT TYPE="TEXT" NAME="Price1" SIZE="10">

    When I test it by entering 100.00 in the non-hidden Input field "Price1" I get the Syntax error.

    Can someone please help me with how I should do this.

    Thanks

    Dave



    Sep 20 2008 21:25:08

    #2

    tom g

    Join date : 2008-09-18      Posts : 488

    Try making it lower case: price1



    Sep 20 2008 22:17:52

    #3

    DaveShops

    Join date : 2008-09-20      Posts : 16

    Hi Tom,

    tom g said: Try making it lower case: price1

    Thanks for the reply, but that did not work.

    I have another page with a similar set up and that is working OK. Got me beat. I'll keep at it but would appreciate anyone else chiming in.

    Dave



    Sep 20 2008 22:25:12

    #4

    DaveShops

    Join date : 2008-09-20      Posts : 16

    OK, got it. It was the "1" on the end of price etc. Apparently "Add.cfm" does not like qty1, price1 etc.

    Is that new?

    Dave



    Sep 20 2008 23:16:53

    #5

    tom g

    Join date : 2008-09-18      Posts : 488

    No, it is not new. I assumed you were using addmulti.cfm.