Entering several bills at a time
Posted: Mon Jun 17, 2002 11:58 pm
I for one would like to have an ability to enter several bills at a time, instead of entering them one at a time and then reaching for the mouse to set the focus back to the right field after the first note is entered. A simple body onload="form.my_denomination.focus()" or something similar would fix this, after this modification I wouldn't really have to use my mouse at all. Considering that I may enter some 200 bills at a time, even this would be a nice improvement
However, there's always room for improvement
I spent this evening designing an easy-to-use form for entering dozens of bills at a time. You can see that form at http://miuku.net/misc/massinsert.html -- note that the data entered won't be transferred to EBT, it's dumped to a CGI script that echoes back everything that's sent to it.
Some noteworthy items:
There is a "realtime" typo checking for short code and serial number, try entering an incorrect number and you'll see what I mean. This is especially useful when entering tons of bills at a time -- if there was no checking while entering the note, you would be seriously annoyed if you had to find that mistyped note from your stack of bills after EBT complained that the number was incorrect. This feature needs JavaScript, though.
Comments are copied onto the next notes as well, but can still be changed individually if need arises. Same thing happens for note denominations and for the year.
The year is somewhat redundant at this time, so it could be replaced with a hidden field until 2003. I put it there just for testing the thing.
Any comments? JavaScript is not my native language, so you may want to double-check the code. It works fine with MSIE6 and NS7, your mileage may vary. I'd be happy if some of that code was incorporated to EBT
However, there's always room for improvement
Some noteworthy items:
There is a "realtime" typo checking for short code and serial number, try entering an incorrect number and you'll see what I mean. This is especially useful when entering tons of bills at a time -- if there was no checking while entering the note, you would be seriously annoyed if you had to find that mistyped note from your stack of bills after EBT complained that the number was incorrect. This feature needs JavaScript, though.
Comments are copied onto the next notes as well, but can still be changed individually if need arises. Same thing happens for note denominations and for the year.
The year is somewhat redundant at this time, so it could be replaced with a hidden field until 2003. I put it there just for testing the thing.
Any comments? JavaScript is not my native language, so you may want to double-check the code. It works fine with MSIE6 and NS7, your mileage may vary. I'd be happy if some of that code was incorporated to EBT