Link to home
Start Free TrialLog in
Avatar of Mc2102
Mc2102Flag for United States of America

asked on

InfoPath 2010 - Active Control in form with out being in edit mode


I am running SharePoint 2010 and I am using InfoaPath 2010 to build my forms.

I would like to add a button or checkbox to one of my forms which I can click to change the view of a form but without clicking the 'Edit' button in the ribbon first.

Is that possible?

Thank you
Avatar of Clay Fox
Clay Fox
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mc2102


Hello Clayfox,

You are right my question is a little confusing. This is what I am trying to accomplish. I in a SP list and the content type in the list has several fields. One of these fields will contain lots and lots of text over time. We are talking about maybe 30 - 40 lines. So I am trying to find a solution for the issue that this field would create a very long form when you view a item. So since you can switch with a button between views I thought I would create two views, on does not display the field and the other one does. Then the user can choose if he wants to display the field or not.

I simply try to find a solution and the lines above describe my attempt but it does not work for me if the user first has to click on 'Edit' int he ribbon to even view the button.

Any thoughts or ideas to solve this issue are welcome.
Avatar of Mc2102


Or another idea would be to enable the drop down menu to switch views within the ribbon of the InfoPath form even if it is in 'View' mode.
Avatar of Mc2102


I did more research and it does not look like that there is any way to add a button to the form which is being used when viewing an item. I simply followed clayfox's idea to work with diffrent views.