Working with User Input Elements
User Input elements allow users to interact with applications, most often to provide reporting criteria.
The following topics discuss a variety techniques for working with these elements:
- Working with Change Flags
- Aligning Input Elements
- Using AutoComplete
- Wrapping in a Fieldset Box
- Inclusion in Data Tables
- Populating Input Element Collections
- Setting Default Values
- Re-displaying Entered Values
- Validating Input
- Using Validation Elements
- Using Event Handlers
When Are Input Values Available?
Logi reports use the basic HTML FORM-submission mechanism for posting input control values. This means that a page has to be submitted before any of the values in its Input elements will be available for use in the next or reloaded page. Attempts to access @Data tokens for those values in the page before it's submitted will not work. A common technique is to display a page, let the user enter values and submit the page, and then re-display the same page with dynamic content displayed based on the input values. Another common technique is to display a page, let the user enter values and submit the page, run a Process task that does something with the entered values, and then re-display the original page. Some script-based techniques can be used to initiate local actions on the input values, without submitting the page. For example, if text is entered in an input control, itcan be capitalized when the mouse leaves the control.