- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
OK, I'm trying to get an idea of where all of the fields are on your form. You have "Nett_pay" selected in the first picture. It looks like the only event that has a script is the "initialize" event. So, unless there's a button somewhere that causes that field to be generated later, that script only runs when you open the page.
Perhaps you could put that event on the "enter" event for whatever text field is captioned "Attended By." (TextField8, I would guess.) I would also guess that the "Nett_pay" field is protected, since you don't want people editing the amount of money you're paying them on that line. If you move it there, you'll cause that script to run once you tab down to it on the form. Your user will see that the cursor is in the "Attended By:" field, and the script will fill in the amount of money.
As for the button, you'd have to show the code or actionbuilder screen for us to help make sure it is deleting the correct row.
Views
Replies
Total Likes