...
Adding a Dropdown list via Code
XML
(Sample code goes here)
VB
...
See the SetFieldTypeByFieldName method page. Sample code below:
Code Block | ||||
---|---|---|---|---|
| ||||
Dim strStates As New List(Of String)() |
...
strStates.Add("AK") |
...
strStates.Add("AL") |
...
strStates.Add("AZ") |
...
strStates.Add("CA") |
...
strStates.Add("DE") |
...
objQFE.SetFieldTypeByFieldName("H.State", QuikFormsEngine.FieldType.DropDownList(New List(Of String)(strStates))) |
Option 2
Adding a Dropdown list via Form Rules Manager
...