3 Replies Latest reply on Apr 24, 2017 10:21 AM by aliciaclaireviolin

    Need help with custom javascript


      I have a line item order form I'm working on. There are seven lines in which the user can entered their quantity/unit cost/etc. I've set everything up to calculate the total cost for each line (last column on the form), and then these total costs are summed as the sub total at the bottom of the form. This works beautifully. The problem is I think I need a custom code to sum the sub total at the bottom of the form EXCEPT when there is only one total cost value on the form in which case the sub total field should just grab that with no calculation. I hope this makes sense? Thanks for any help you have!javascripthelp.png