I have a Drop-down field in InfoPath form. When Drop-down field is loaded I want to set the first item of the Drop-down field to a text field. Any one knows how to set first item of the Drop-down field to a text field?
If your question means, you need the users to enter their values into Drop Down List you can't do that, while there's another control combo box.
Combo box Enables users to either select a predefined value from a list of choices or type their own value, but this control cannot be displayed in a Web browser forms.
so When you design a browser-compatible form template, combo box controls are unavailable.
you can Show\hide a text box based on a drop down list value, meaning for example if user selects "Other" a text box will Show in the form to allow users to enter their values.
Check out this link Hide a control based on values on the form
If your question means , that on the page loading you need to set the text box value with the default selected item in the drop down List , try the below:
- on the ribbon , select DATA tab
- click on form Load
- in the Rules window click New->Action rule
- In the rule's Run these action ->Add->Set a field's value
- set the text box field = drop down field