9.3 Generating HTML Forms | |
Forms permeate Web applications, and Vortex was designed with this in mind.
As we've seen, the list nature of Vortex variables lends itself to form management.
Vortex variables are automatically imported from form variables of the same name; no init call is needed.
On output, Vortex variables are automatically HTML-escaped, obviating the need for text-variable escapement.
Vortex also has some functions to make generating forms easier.
Since periods are valid variable name characters, server-side image map coordinates can be obtained directly from the form variables (eg. $map.x / $map.y ).
Vortex also automatically imports variables from form-based file uploads - forms with ENCTYPE=multipart/form-data . This makes uploading of files and images directly into Vortex variables easy. We'll discuss this in the section on Multi-part nbsp;File nbsp;Uploads .
Back: Embedding Javascript | Next: Patent Search |