Hello, I have a client side script and a button that happens on Sales Orders. When the button is clicked it goes thru all the line items and checks a checkbox and copies the "Amount" field to a custom Amount field. For orders with over 50 line items it takes forever and sometimes completely crashes the browser. On the same script there is a validateLine function which is why i think is why it is taking so long. Can anyone help advise me on how to make the script run faster?