Technical References - [input]

[url], [input], and [convertchars] assure proper formatting and interpretation of text

[input][value][/input]

INPUT is used to clean data like carriage returns and quote marks, and is used, as the name implies, in HTML input form tags.

1. Textarea form field. When carriage returns and tabs are written to a database, they are stored as special characters so as not to interfere with the tab-delimited structure of the database file itself. When bringing them out again into a textarea, [input] will format them correctly back into tabs and returns.
2. Other input tags in the value parameter. If your value contains a quote mark, it will close the form field data at that point, resulting in a chopped off value.
3. Other HTML tags (esp. alt tags), javascripts, anything in quotes; same idea as above.
Examples:
<textarea>[input][desc][/input]</textarea>
<input type="text" name="desc" value="[input][desc][/input]">
<img source="yourimg.jpg" alt="[input][desc][/input]">
Terry Wilson

DOWNLOAD WEBDNA NOW!

Top Articles:

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Tips and Tricks

A list of user-submitted tips ...

Download WebDNA Applications

WebDNA applications...

WebDNA Modules

A list of the currently available modules...

WebDNA Libraries

A list of available libraries for WebDNA...

F.A.Q

A compilation of some user's questions...

Related Readings:

[scope]

Explicitly define a block of WebDNA code that has a separate variable space...

[authenticate]

WebDNA provides a few options for password protecting your pages...

[copyfolder]

Copy a folder and all its contenton your webspace...

[replace]

Replaces each found record in a database with the new field values...

[encrypt]

[encrypt] and [decrypt] allow you to store sensitive data in your databases without risk of exposing it to prying eyes...

[formvariables]

Lists all the form variables and parameters passed to the current page...