none
Generating a Text Box in a Published InfoPath Form

    Question

  • Hi All,

    I am working on an InfoPath form and it has several controls. I am using InfoPath 2013 on SharePoint 2013 I want to know is it possible to add a control like a text box when a button is clicked, to the form when the form is in SharePoint?

    Thanks

    Monday, April 24, 2017 10:51 AM

All replies

  • Hi chiranthaka,

    Do you mean that you want to achieve that auto generate a value for a text box when you click a button?

    Is it right?

    You can set the button use Rules and Custom code action: 

    Then create a rule on the button which set field1(text box) to a value:

    Best Regards,

    Lisa Chen


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Thursday, April 27, 2017 6:39 AM
    Moderator
  • Hi chiranthaka,

    Is there something update?

    Please remember to mark the reply as an answer if it helps.

    Have a nice day!

    Best Regards,

    Lisa Chen


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, May 5, 2017 11:18 AM
    Moderator