Use the Variable Input Control builder to create variable forms where the text, layout, and styles of the controls are stored in a database or in files.
For example, create a page with a <TABLE>
tag and a single <TR>
tag. Then attach a Repeated Region or a Dynamic Table builder to these locations to repeat the <TR>
tag for every element in your data. The data can contain your prompts and your values for the Variable Input Control builder. The control tag for the Variable Input Control builder would be placed inside a column inside the repeated section.
At run time, this builder evaluates the text referenced as the Input Type
field and directs subsequent processing to the appropriate input tool. Use this input to choose a string constant value from a drop down list and specify an indirect reference. This indirect reference must either directly evaluate to one of these string constants or be profiled and the profile value must evaluate to one of these constants. These constants are:
If the Input Type
value does not evaluate correctly, the entire input control does not display.
Builder replaces tag
When this builder is applied in On Named Tag
or Relative to Named Tag
modes, the control tag is replaced completely. No further modifications to the tag can be done. And no additional builders can be applied to the tag.
If you attempt to use the tag, an error message about the missing tag indicates that nothing further can be done with this tag.
Variable Input Control builder inputs
This topic describes the inputs for the Variable Input Control builder.
Specification of Choices
Some input types in the Variable Input Control builder Extra Data
input table support Choices
Specification of extra data
The Extra Data
input in the Variable Input Control builder determines the content displayed by the input control.
Parent topic: Builder help
About using the builder call editor
Locating control builder calls on pages