Community Forums 

Main Content

SYNTAX ERROR: Price not set

    Jun 05 2017 15:26:24

    #1

    NASTT NE

    Join date : 2017-06-05      Posts : 1

    I have several items for a registration form.

    Here is the code being used.
    <INPUT TYPE="TEXT" NAME="qty1" size="2"> Platinum sponsor: $1,000.00 (1 only)
    <input type="hidden" name="product1" value="Platinum Sponsor">
    <input type="hidden" name="price1" value="1000.00">
    <br />
    <INPUT TYPE="TEXT" NAME="qty2" size="2"> Gold sponsor: $750.00 (1 only)
    <input type="hidden" name="product2" value="Gold Sponsor">
    <input type="hidden" name="price2" value="750.00">

    i have use a similar code the problem is with adding the number at the end of qty, product and price.

    How do i differentiate between each of the listings?

    If i leave off the number it only chooses one value.

    How do do 16 items that have different pricing and eliminate the Syntaxerror of Puice not set?



    Jun 05 2017 16:47:31

    #2

    GT

    Join date : 2008-09-18      Posts : 3202

    Are you using addmulti.cfm as the form address?

    Can we see the whole form?

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

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