Presentation is loading. Please wait.

Presentation is loading. Please wait.

April 20023CSG1HTF 1 Electronic Commerce HTML forms John Wordsworth Department of Computer Science The University of Reading

Similar presentations


Presentation on theme: "April 20023CSG1HTF 1 Electronic Commerce HTML forms John Wordsworth Department of Computer Science The University of Reading"— Presentation transcript:

1 April 20023CSG1HTF 1 Electronic Commerce HTML forms John Wordsworth Department of Computer Science The University of Reading J.B.Wordsworth@rdg.ac.uk. Room 129, Ext 6544

2 April 20023CSG1HTF 2 Lecture objectives To review the use of HTML forms To look at the user interface capabilities of HTML forms

3 April 20023CSG1HTF 3 An HTML form First name: Last name: email: Male Female

4 April 20023CSG1HTF 4 The form displayed

5 April 20023CSG1HTF 5 A form with a menu Component_1 Component_2 Component_3 Component_4 Component_5 Component_6 Component_7

6 April 20023CSG1HTF 6 The menu displayed

7 April 20023CSG1HTF 7 A form with an option group None PortMaster 3 with ComOS 3.7.1 PortMaster 3 with ComOS 3.7 PortMaster 3 with ComOS 3.5 PortMaster 2 with ComOS 3.7 PortMaster 2 with ComOS 3.5 IRX with ComOS 3.7R IRX with ComOS 3.5R

8 April 20023CSG1HTF 8 The option group displayed

9 April 20023CSG1HTF 9 As it should be

10 April 20023CSG1HTF 10 Form with text area First line of initial text. Second line of initial text.

11 April 20023CSG1HTF 11 The text area displayed

12 April 20023CSG1HTF 12 Hidden variables Hidden variables are not shown by the browser. The id/value pairs of the hidden variables contribute to the HTTP request that is sent when the SUBMIT button is activated.

13 April 20023CSG1HTF 13 Key points Forms can be used to get user input in a variety of ways The action attribute explains what happens when the user submits the form Radio buttons, menus, and text areas can be used to get input. Hidden variables can be used to save state between HTTP requests.


Download ppt "April 20023CSG1HTF 1 Electronic Commerce HTML forms John Wordsworth Department of Computer Science The University of Reading"

Similar presentations


Ads by Google