How to Make this Order Form
- Check 'Use separate values' for each field that will be included in your total. Put the corresponding price in the saved value column. For example, if you select 'Dark Blue' for the color, it will be saved as 'Dark Blue - $2.50'. The calculation will only use the numbers and decimals from the end of each saved value. Any other text will be ignored.
- To create a Total field, add a read-only Single Line Text field. Check 'Calculate the default value for this field'. In the text box that appears, type something like this:
[681] + [683] + [685] + [686]
The numbers in brackets are the IDs of the fields you will be using for your total. Select the number of decimal places you would like to be displayed in the 'decimal places' box.
You may also add frm_total to the Layout and CSS Classes in the field options to remove the border and background from this field.
- Download the Paypal Add-on if you have not already done so. Go to your form 'Settings' → 'Form Actions' → 'PayPal'.
Set the 'Amount Field' as your Total field.