SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to dynamically (at runtime) create controls in an InfoPath form?

Some background: I have a list for which the new item is a custom form created with InfoPath. It contains some drop-downs based in it. Depending on the selected value in the drop-down I want to add more drop-downs in the form.

Is this possible?

share|improve this question
up vote 1 down vote accepted

Instead of dynamically creating dropdowns why dont we think about hiding and unhiding dropdown controls in the form which will also reduce the complexity of creating them dynamically. Once its visible, you can use your logic to fill the data in these dropdowns.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.