• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. Forms > Adding Hidden Fields to a Form

Adding Hidden Fields to a Form

Although you hardly ever add hidden fields to an HTML document yourself, you'll have to know how to do it in order to write a CGI script that generates the code for the fields.

Figure 11.37. An excerpt from the HTML file used to create the form shows the syntax for hidden elements. It doesn't make much sense to write such code yourself and thus I'm reluctant to create such an example. Instead, your CGI script should generate this code.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint