Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

19

Resources Windows 7 OS, InfoPath Designer 2013, Character Map, Notepad Preparation In InfoPath Designer, we want to make sure we can see the panes for Fields and Rules on the left. To show the Fields task pane, click the Show Fields button at the very left of the DATA tab on the ribbon. To show the Rules task pane, click the Manage Rules button at the ...


10

So it turns out that SharePoint Designer is the only way to accomplish this. You have to go into the page in Designer, edit the page, and select the Insert tab from the ribbon -> New Item Form -> select "CUSTOM LIST FORM..." (not one of the pre-populated lists or you will get the barebones default content type!) -> Choose the list for the form you want to ...


10

Try editing the SharePoint list settings in the browser. Open the list, go to List Settings, click the field name and select "No" for "Allow multiple selections". Edit after clarification that this is not a list form: The described behavior of the control leads me to believe that the form has initially been created with InfoPath 2007 and the people picker ...


8

At least two options are available when it comes to client side validation in SharePoint 2013: Client-Side Rendering (CSR) Validation Override Save handler using PreSaveAction function Assume the scenario where we need to add client side validation for Email column in the Contacts list. Client-Side Rendering (CSR) Validation in SharePoint 2013 CSR is a ...


8

I've found simple solution. Here is step-by-step guide: Download jquery.min.js and put it, for example, in Assets library. Open Document library (one where you want to have preview on editform) and on ribbon click Library - Form Web Parts - Defalut Edit Form On Edit Form page click Add a Web Part and insert Content editor Web Part. Click Edit Source and add ...


7

That is not the internal field name of the SharePoint field, it is how ASP.NET (ASPX pages) gives IDs to the fields when it renders them. You should never rely on those as they keep changing based on other controls on the page. In this case MS has probably pushed an update that has brought in one additional control to the page, causing incremented ID to all ...


7

If you try to put the code into the Page Content field, it will get stripped out. You'll want to insert a Script Editor web part (Under the Media and Content grouping) and insert your code there. If you want to use the SharePoint modal dialog, insert this into your Script Editor Web Part: <script type="text/javascript"> function openInDialog(...


6

Since you have created site workflows and they don’t have a list item or document to start from, they must be started either: 1) manually - http://technet.microsoft.com/en-us/library/ee662540.aspx or 2) Using API - example - http://unclepaul84.blogspot.com/2009/12/starting-sharepoint-2010-site-workflows.html Let us know if you find a better way...


6

What if you just add ?IsDlg=1 to your link in the page viewer, then it will remove most of the "UI". /servername/site/Lists/listname/NewForm.aspx?IsDlg=1


6

here the answer: <script type="text/javascript"> function hideEdit() { var edit = document.getElementById("Ribbon.ListForm.Display.Manage.EditItem-Large"); edit.style.display = "none"; } _spBodyOnLoadFunctionNames.push("hideEdit"); </script> Or Enable/Disable ribbon button based on current item value of a ...


6

If your form is opening in a dialog, you can do it using jQuery: $('.ms-dialog #s4-ribbonrow').css('display', 'none'); or just by embedding some CSS on the page: <style> .ms-dialog #s4-ribborow { display: none; } </style> Or as Danny Engelman pointed out in the comments, if you do not want to load jQuery you can do it with pure ...


6

Besides the above mentioned Infowise tools, another example of a paid tool would be Kintivo forms and Kwizcom forms It allows drag-drop of fields to be displayed in the form as well as branching and conditional logic. It also has a free trial version available. Kwizcom forms are also easy to build and create for functional/non-technical users. Not ...


6

You can implement this by creating a Custom New Form and adding the HTML you have already created to this aspx page. This will be bound to the SharePoint List . Each SharePoint List by default has NewForm.aspx,EditForm.aspx and a DisplayForm.aspx. If you open the SharePoint Designer you can view them as below: You can add a new Custom Form and set it as ...


5

Yes you can. At least in SharePoint 2013 on-prem First create a new custom form. Go to the list where you want the new form and edit the form in SharePoint Designer. Then create a new form (1), give it a name (2), select which kind of form (3), option to set it als default (4) and click ok (5). Then open the newly created form in advanced mode (right ...


5

Yes and yes. You can hide the columns on the forms by adding custom action to each of the forms like this: <CustomAction Id="Project.DisplayForm" Location="DisplayFormToolbar" ControlAssembly="$SharePoint.Project.AssemblyFullName$" ControlClass="Project.ProjectListFormCustomActions" RegistrationType="...


5

You can also open SharePoint Designer -- > All files --> Document library -- > Forms --> Templatename.dotx If template is attached to any content type, inside Forms there will be a folder with Content type name and template will be present inside it.


5

There's a great solution which allows you to build a HTML form for SharePoint lists if you're okay using JavaScript and jQuery. Original solution: http://www.markrackley.net/2013/08/29/easy-custom-layouts-for-default-sharepoint-forms/ Updated this year: http://www.markrackley.net/2017/05/04/customize-your-sharepoint-classic-forms-without-infopath/


4

Robert... This time, dont use relative URLs, just add absolute URL (the entrie path of the page) eg. <input type="button" value="Add List Item" name="BtnSave" onlick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect{http://<server>/sites/<site name>/Pages/<page name>.aspx}')}" /> It should work, cheers


4

I'm not sure if I understood you correctly. But when I want to open form I use asp:HyperLink and in codebehind I set NavigateUrl like this: hyperLink.NavigateUrl = "javascript:SP.UI.ModalDialog.ShowPopupDialog('" + url + "')"; If you want to open form (edit, view, etc) use copyutil - it can generate the exact url address for you: http://weblogs.asp.net/jan/...


4

Another option would be to consume SharePoint REST service for that purpose using JavaScript or PHP in WordPress site If PHP is allowed in your WordPress site, then you could utilize SharePoint client for PHP that allows to performs CRUD operations on SharePoint data using an SharePoint 2013 REST/OData based API. Scenario Assume a custom Contacts form ...


4

You can add this script: <script type="text/javascript" language="javascript"> function PreSaveAction() { var elm = document.getElementById("idAttachmentsTable"); if (elm == null || elm.rows.length == 0) { document.getElementById("idAttachmentsRow").style.display='none'; alert("Please attach Documents"); return ...


4

I was able to do this using pure CSS, but had to escape the "." As follows: <style type="text/css"> #Ribbon\.ListForm\.Display\.Manage\.EditItem-Large {display:none !important;} </style>


4

Since Content Approval status is stored in List Item (_ModerationStatus) I would recommend to leverage any client APIs (JSOM, REST or SOAP) for that purpose. How to retrieve content approval status using client APIs JSOM function getListItemModerationInfo(listId,itemId,success,error) { var ctx = SP.ClientContext.get_current(); var web = ctx.get_web()...


4

You can add these lines of CSS using a content editor webpart to hide the delete button. /* For Dispform.aspx */ a[id="Ribbon.ListForm.Display.Manage.DeleteItem-Medium"] { display:none; } /* For Editform.aspx */ a[id="Ribbon.ListForm.Edit.Actions.DeleteItem-Large"] { display:none; }


4

There is an easier way to accomplish changing the default destination folder. Just go to 'advanced settings' in the library. There you can say if you want this library to be the default one for site activa. Check 'yes' en check 'no' in the advanced settings of every other library on the site. Done!


4

Document templates are not visible in Forms folder but they are visible in Mapped network drive. So follow below links to map your library in network drive. http://mroffice365.com/2012/02/using-sharepoint-document-library-as-a-network-drive/ https://hubone.zendesk.com/hc/en-us/articles/200167580-SharePoint-Using-Explorer-View-or-Mapped-Network-Drives


4

Previously, I have used Infowise tools as alternative of InfoPath form. It is very efficient. You can use it in both SharePoint Online and SharePoint on-premise. You can get free trial and free demo from them. It gives below functionalities with Code-free toolkit: Forms Processes (advanced business logic) Reporting It's very easy to use. I am not ...


4

I believe your code get execute first and after which the dom is rendering. You can wrap your code in document.ready. $(document).ready(function(){ $("nobr:contains('My Column')").closest('tr').hide(); });


3

I think your basic idea is to get information from these documents and display them differently as reports or views. 1) One way you could achieve this is by Mapping the InfoPath form fields to a list column. These fields can be part of your Form library columns. Whenever you publish an InfoPath form to a form library, you would be prompted with the ...


Only top voted, non community-wiki answers of a minimum length are eligible