Form Variable Notes And Considerations - MACROMEDIA COLDFUSION 5-DEVELOPING Develop Manual

Table of Contents

Advertisement

48
The argument passed to the IsDefined function must always be enclosed in double
quotes. For more information on the IsDefined function, see the CFML Reference.
If you attempt to evaluate a variable that you did not define, ColdFusion cannot
process the page and displays an error message. To help diagnose such problems,
use the interactive debugger in ColdFusion Studio or turn on debugging in the
ColdFusion Administrator. The Administrator debugging information shows which
variables are being passed to your application pages.

Form variable notes and considerations

When using form variables, keep the following guidelines in mind:
A Form variable's scope is the action page.
Prefix form variables with "Form." when referencing them on the action page.
Surround variable values with pound signs (#) for output.
Check boxes and radio button variables only get passed to the action page if you
select an option. Text boxes pass an empty string if you do not enter text.
An error occurs if the action page tries to use a variable that has not been passed.
Chapter 4 Retrieving and Formatting Data

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5-DEVELOPING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion 5

Table of Contents