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 will 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. Value field behavior
If you attempt to use the tag, an error message about the missing tag indicates that nothing further can be done with this tag.
If you specify a value in the Value
field, the corresponding Text Key
is displayed in the Select builder, Radio Group builder, or Checkbox List builder.
Variable Input Control builder inputs: wpf7
This topic describes the inputs for the Variable Input Control builder.
Specification of Choices: wpf7
Some input types in the Variable Input Control builder Extra Data
input table support Choices
Specification of extra data: wpf7
The Extra Data
input in the Variable Input Control builder determines the content displayed by the input control.
Parent topic: Builder Reference: wpf7
About using the builder call editor: wpf7
Locating control builder calls on pages: wpf7