control without binding?

  • Thread starter Dennis McCarthy
  • Start date
D

Dennis McCarthy

I am designing a form that submits to a web service. One of the fields is a
text box that the user does not fill in directly. Instead, they select from
a drop-down list control, and a rule on that control populates the text box.
The drop-down list is populated using a secondary data source that makes a
different web service call to retireve the choices.

The problem I am having is that when I add a drop-down list control to the
form, InfoPath insists on binding it to a field. It should not be bound to
any field in the web service call for the form submit. If I bind it to the
field returned by the seconday web service data source, then InfoPath will
not allow me to set the validation.

How can I create a drop-down list control that uses a secondary data source
to get its values, but is not bound to any submit field?

Thanks,
Dennis
 
G

Greg Collins [InfoPath MVP]

Bind the drop-down list box to a node in a secondary data source. If you have to, create a new XML file to use as a secondary data source for this purpose.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top