-
Brother's Problems
My kid Brother's got this to do with no previous Experience with Vbscript. Neither Have I.
Any Ideas:
Informatics 2B10 Due Date: 22 September 2004
Marks: 10
You must create a product order form for the e-commerce website you developed in practical 3. On the order form you must enable users to:
• Specify their personal details. (with error messages if not input correctly)
o Name (check for at least one character)
o Surname (check for at least two characters)
o Telephone number (has to be in the form (000)000-0000.) (check for the whole format use the functions IsNumber and Mid.)
o E-mail address (has to be in the form username@domainname) (check for the @ using InStr.)
o Credit card details using radio and checkboxes. (Radio button for card type and straight or budget options with a checkbox.)
• Select the products they want to purchase. (Combo Box)
(You MUST have more that 3 products with different prices (excluding VAT)). It’s fine if a user can only select one product at a time.
When the user submits the form, you must validate all data to ensure it is correct using VBScript. If all the required fields are valid, you must then dynamically generate (also using VBScript) an order confirmation page listing:
• The client’s details.
• The total amount for the order (Product cost with VAT included).
You will get marks for:
• Validation of submitted data with VBScript.
o All fields filled in. Marks: 1
o Telephone number. Marks: 3
o Email address. Marks: 1
• Appropriate error messages in a popup windows (msgbox). Marks: 1
• Generation of popup window (not msgbox) confirmation page with VBScript
with the price including VAT. All form variables has to be placed in new
variables (DIM) to write it to the new document. CStr() converts a number to a
string. Marks: 2
• Using a combination of text-,radio-,drop-down and checkboxes in your form. Marks: 2
Tools you must use for this practical:
• Windows Notepad or FrontPage.
When you are finished with your practical:
• Zip your website and name it as follows: student#_site.zip (ex. 200401010_site.zip)
• Upload to WebCT. If you do not upload the practical you will get 0.
-----END OF PRACTICAL-----
-
Errr...that's nice.
And you want people to do what exactly?
The best way to get help is break down your project into many different questions, and then post a thread here for each question. What people will not do is write this for you...espescially when it's homework :D
Woka
-
Well I personally hate negative due dates...