PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Total is Wrong

  1. Hello, I have an order form here http://www.martinsports.com/?page_id=1004
    The first item calculates correctly with the quantity and the price.
    If I add a second or third item, The total field does not multiply by the quantity.
    Please advise.

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  2. When you have multiple Quantity fields on a form you need to tell that Quantity field which Product Field it is associated with. Have you configured each of those Quantity Fields so that they are associated with the correct Product field? It appears they are all tied to the first Product Field.

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  3. Thanks, Editing it now.

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  4. One other thing, related to this form. I have used the address field for the sold to and ship to addresses. Is there an easy way to move the titles above the fields instead of below. The rest of the fields are above.
    Thanks again for your quick reply.

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  5. Is there a way to disable the Return Key so if it is hit by accident the form is not submitted?

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  6. Sub-Labels on Advanced Fields appear below the individual inputs. This is not configurable.

    The return key submitting the form is default browser behavior. It's the browser that is submitting the form. We aren't going to implement any Javascript to prevent this because it's expected behavior.

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  7. Is there a work around for the return key? Can javascript be added to the xml file to disable it?

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  8. Is there a way to move all label below then?

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  9. I said above. The sub-labels on advanced fields such as the Address and Name field appear below the inputs by design. It is not configurable.

    You can't add Javascript to the XML file. If you wanted to do something to disable the return key submitting the form you'd have to do so by adding Javascript to your theme. But it's not recommended. It's expected behavior that pressing the enter key when filling out a form will submit the form. It's a built in keyboard shortcut and could be an accessibility issue if it is removed.

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  10. I understand what your saying about the advanced fields. I was hoping there was an easy way to move all the other field labels to the bottom. My client just wants them to be consistent.

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  11. The sub-labels for the Advanced fields are not Field Labels. They are sub-labels for the inputs that make up the Advanced Field. The Field Labels appear above all fields, including Advanced Fields. They cannot be moved below the Field.

    Think of the sub-labels on the Advanced forms like a printed form where what you are filling in has it's label underneath. But the main labels on a form are typically above the field. This is why things are done this way.

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink
  12. OK, Thank you.

    Posted 14 years ago on Wednesday September 28, 2011 | Permalink

This topic has been resolved and has been closed to new replies.