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.
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.
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.
Thanks, Editing it now.
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.
Is there a way to disable the Return Key so if it is hit by accident the form is not submitted?
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.
Is there a work around for the return key? Can javascript be added to the xml file to disable it?
Is there a way to move all label below then?
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.
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.
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.
OK, Thank you.