View Complete Post
I created a browser enabled form with InfoPath 2010. I then published the form by selecting the option "Publish form to a SharePoint library" and then selected "Form library" and finally selected "Create a new form library".
As a result, a new form library was created.When I click on "add document", the browser opens a new form, which I can fill and save successfully. However, after the form is saved, whenever I click on the form name in the form library to edit it,
the browser "opens with" dialog box opens, asking for an XML editor software. In other words, the form does not open in browser for editing even on systems that do not have InfoPath installed.
The form is browser compatible and the form library is configured to open browser-enabled forms in browser. The issue is that the form hyperlink is directly pointing to form XML file rather than pointing to InfoPath form services URL.
I would really appreciate, if someone tells me how I can edit the form in browser.
test list that I created.
The function is implemented in the displayform, newform and editform and makes use of the document.getElementsByTagName("!")
to retrieve all matching elements, which is then used to get the control of the column that needs to be hidden.
I then check for the currently logged in user and if the user is not part of the administrative group I hide the column by setting the
display property of the control to 'none'. This works a 100% in the test list.
the functions on these forms).
go about it.
Any help would be greatly appreciated.