When a product quantity is changed to 1, the product is automatically selected. When the quantity is changed back to 0, the selection is not cleared

  • Profile Image
    bdoodle
    Asked on August 12, 2015 at 03:55 PM

    When a product's selection box is not selected and you enter a quantity for it, the selection box is automatically selected by Jotform.  Could you do the converse as well?  i.e. When the selection box is checked and someone zeros out the quantity for it, couldn't you automatically unselect the selection box?   If you don't do this, my customer will get an error when he submits to PayPal.  This change would be VERY helpful and given the existing code you must have to set the box, perhaps it wouldn't be hard to do the opposite.  

    Starting the qty at 1 and not allowing 0 is not a friendly thing to do to my customers.

  • Profile Image
    david
    Answered on August 12, 2015 at 04:05 PM

    Hi,

    I will forward this to our developers.

    When a product quantity is changed from 0 to something greater than 0, the product is automatically selected:

    Quantity changed, product is automatically selected:

    However, if the quantity is changed to 0, the product remains selected:

    This causes an error due to the product being selected but not having a quantity attached:

    If the selection was automatically cleared when the value was changed to 0.  There would no longer be any problems.

    Here is my clone of the users form to test with:

    http://support.jotform.com/form/52235974878976

  • Profile Image
    bdoodle
    Answered on August 12, 2015 at 04:10 PM

    You are the best!!!! Thanks a million!

  • Profile Image
    david
    Answered on August 12, 2015 at 05:27 PM

    Thank you for the kind words.  We will update you here as soon as we have any further information.

  • Profile Image
    NeilVicente
    Answered on August 15, 2015 at 05:01 AM

    @bdoodle

    The redirection problem was fixed yesterday. Today, we fixed the issue with the item not being unchecked when quantity selected is zero.

    Have an awesome weekend. Cheers!

  • Profile Image
    bdoodle
    Answered on August 15, 2015 at 01:11 PM

    Thank you so much!  It works great!