![]() Capt. Horatio T.P. Webb | ASSIGNMENT #3 -- FALL 2004 Last Updated 1PM 8/22/2004 |
This client-side data entry/validation is composed of HTML, XML and (VBScript or Javascript -- i.e., choose one ONLY). These components will provide the user with the ability to make client-side journals entries (the journal voucher).
The process of creating journal entries begins with pre-numbered paper document -- the journal voucher. This document contains:
Such a journal voucher appears as:
| SRN: 1234 | Fiscal Month: 12 | ||||
| Transaction Amount | Description | ||||
| Major | Minor | Sub Acct 1 | Sub Acct 2 |
||
| 1000 | 1000 | 0000 | 0000 | -135.60 | Check #456-234-1 for Nov Electricity |
| 8000 | 6000 | 0000 | 0000 | 135.60 | November Electricity Expense |
| Sum of Transaction Amounts | 0.00 | ||||
Your form should:
There should be a clearly labelled "Validate, then Submit" button on the page. When clicked, the VBScript should provide all the ediitng test discussed above. Each type of failure is to be reported to the user and control returned for correction. If the journal voucher passes all the editing tests, the form should be:
http://disc-nt.cba.uh.edu/Students/parks/echoxml2.asp
to test the contents of the form's querystring. This exe program should return the XML string to the user by setting the content-type to txt/xml and returning the querystring as the only text. The result (if IE5 or later) on the browser will be a correctly parsed XML file of the user's data.
A link to assignment #3 page (a3.htm) should be placed on your in your /~your_user_id/public-html/) directory. It doesn't matter whether it is VBScript or Javascript -- just name it a3.htm.