Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

Refresh Document

$
0
0
Hi Everyone,

I have an order form shown in the screenshots below. The issue I have run into is that when someone removes an item in-line that has yet been saved, the Total Sale does not re-calculate because the total field doesn't know there has been a change until either the record is saved and closed or another item is added. The essence of what I need to do is when the user clicks the X to cancel an entry item, it calls a function that I already have created that re-calculates the total and relative fields based on the current list of items. I can't seem to figure out how to call this function because the "After Delete" event on the page isn't triggered because the item isn't a saved item yet. Any thoughts would be greatly appreciated.

Best,
Randy

ORDER FORM WITH NEW ITEM LISTED:
Posted Image


ORDER FORM WITH UNSAVED ITEM DELETED:
Posted Image

Viewing all articles
Browse latest Browse all 2586

Trending Articles