Download presentation
Presentation is loading. Please wait.
Published byBaldric Miles Modified over 9 years ago
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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.