Category Archive for: Forms

Submitting Forms with Trees

When you submit a form containing a tree two form variables are created: Form Tree Name node Contains the node the user has selected without the path to the node Form. TreeName. path Contains the complete path to the selected node, such as root\nodel\node2\node3 You will probably notice that the root node is included in the Form.…

Read More →

Updating with the CFGRIDUPDA TE Tag

Using the CFGRIDU PATE tag you can quickly and easily reflect changes-including edits additions and deletions-back to a dat?p>ise. This tag should be used in the template to which the form containing the grid is mg submitted. The CFGRIDUP DATE tag makes the job of processing multiple changes by a user easy but it has some limitations: •…

Read More →

Using CFGRID to Create Grids

The next [ava-based field to look at is created with the CFGRIDtag. The CFGRIDtag is used to create a grid control.or rows and columns, which resembles a spreadsheet or a word processor table. Grids are ideally suited to displaying the results of a query because they enable the presentation of multiple fields from multiple records in a query.…

Read More →

Using CFTEXTINPUT

CFTEXTINPUTis the first tag you are going to look at that enables you to extend the basi functionality of HTML forms with special Java applets. The CFTEXTINPUTtag enables a form to include a more flexible single-line textentry field than traditional INPUTand CFINPUTtags Among the features of this Iava-based field are the capabilities to specify the font of text inside…

Read More →

Using CFFORM

You’ve come a long way and now you will look how ColdFusion can further enhance HTML forms, making them easier to build and extending their capabilities with custom Java controls.’ You will start with CFIPUT.This tag provides an easy ~ay to create dynamically populated automatically validated text, check-box, and radio-button entry fields. This tag can replace most uses of…

Read More →

Understanding the Power of Check Boxes and Multiple Select Lists

so far in this chapter you have seen simple examples of select fields in which a single item was chosen. However HTML select fields allow for multiple selections. In addition groups of check body allow for multiple items to be selected. For instance Figure 15.13·shows both types of fields with multiple items selected. This ability to select multiple…

Read More →

Step 3 Set Default Form Values

The next step is to set a series of variables for default form values. First you need four variables for the default values of the user-editable fields in the table: Last Name First Name Gender and Salary. If the query result set the Record exists (and it will only when URL. Action was Insert Update or Load), then…

Read More →

Using Information from Forms

Although it is nice to be able to dynamically populate, the real value of these form comes from being able to use the data in useful ways. When working with database information, for instance, you may want to use forms to insert new data into a data or to update an existing entry in a database table You…

Read More →

Forms

In this chapter you will move beyond the simple ability to create dynamic pages and process data into the realm. of interactivity. You will look at standard HTML forms itlid the way they can be integrated with ColdFusion’s capabilities to create fully interactive Web-based applications. The use of forms with ColdFusion can fulfill several needs including the ability…

Read More →

Back to Top