20
votes
How to add hide/show section toggle to InfoPath form?
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 ...
9
votes
Accepted
Developing forms inside Sharepoint Online
Welcome to the wonderful world of SharePoint Development!
You can absolutely create a form using the SharePoint Framework that lives on it's own page (web part) and saves/loads data from SharePoint ...
8
votes
How do I trigger the default form validation without submitting the form
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 ...
8
votes
Accepted
Add document preview to Document library form
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 ...
7
votes
Accepted
All internal field names in the farm incremented in SharePoint Online... why?
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 ...
7
votes
SharePoint 2013 - Adding a button to the body of a page that opens a Form from a List (Without SharePoint Designer)
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.
...
7
votes
What are the alternatives to InfoPath
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 ...
6
votes
Accepted
Hide/disable ribbon bar buttons with client-side code
here the answer:
<script type="text/javascript">
function hideEdit() {
var edit = document.getElementById("Ribbon.ListForm.Display.Manage.EditItem-Large");
edit.style....
6
votes
Accepted
Hide Ribbon in Task Form?
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-...
6
votes
Accepted
Connecting an html form to a sharepoint list
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 ...
5
votes
Hide/disable ribbon bar buttons with client-side code
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>...
5
votes
Accepted
Change size of newform.aspx when clicking new item
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 ...
5
votes
Approaches to hide certain list columns from certain users groups, inside the add/edit/views form & inside list views without using 3rd party tools
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"
...
5
votes
Accepted
Use CSR/JSLink to hide Fields in New/Edit Form
Always great to see the hideFiledTemplate typo..
You do not need a 90 KB library and all the loading hassles to hide a Filed .. ehm Field
(function(){
var hideField="<span class='csrHiddenField'...
5
votes
Where can I see the Forms folder of a document library?
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 ...
5
votes
What are the alternatives to InfoPath
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 ...
5
votes
Accepted
Hide column in Form using jQuery
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()...
5
votes
Connecting an html form to a sharepoint list
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-...
4
votes
Data from an external form (hosted on wordpress site) into sharepoint list
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 ...
4
votes
Accepted
Missing fields in the NewItem, EditItem, ViewItem forms
Go to Document Library > Library Settings
Click on the Advanced Settings
Click 'Yes' in 'Allow management of content types?'
Come to Library Settings
Click on the 'Document' under 'Content Types'
...
4
votes
Accepted
Check if the user has attached any file
You can add this script:
<script type="text/javascript" language="javascript">
function PreSaveAction() {
var elm = document.getElementById("idAttachmentsTable");
if (...
4
votes
Accepted
Get approval status in edit form
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 ...
4
votes
Hide button "Delete Item"
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 ...
4
votes
PreSaveAction: how to return true/false on asynchronous checks?
In normal JavaScript programming you would want Promises... but SharePoint is not programmed to handle them, it wants a True/False from the PreSaveAction.
So the #3 workaround is to stall your code ...
4
votes
Change the default file upload destination library in a discussion board post
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 ...
4
votes
Where can I see the Forms folder of a document library?
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-...
3
votes
My browser enabled Infopath form does not open in my browser
Old thread but someone might find this helpful.
When we had this problem, we found that the hidden workflows library had the wrong permissions.
In SharePoint Designer go to All Files then right-...
3
votes
Accepted
Storing data entered into a custom web part
It depends on what you want to do with the data, I'd say. In general, I would recommend the custom list approach, especially if the purpose of the form is to collect data and use it later. Recently, I ...
3
votes
Accepted
Duplicate error message when leaving a Required list column empty
That's one of the UI issues in SharePoint 2013, that when Enhanced Rich Text is selected the required validation message appears twice.
I don't know if there is an update available to fix this (and ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
form × 596infopath × 176
list × 103
2013 × 78
sharepoint-online × 62
custom-form × 56
2010 × 54
javascript × 48
workflow × 41
sharepoint-designer × 39
sharepoint-enterprise × 29
jquery × 29
list-form × 22
web-part × 21
sharepoint-server × 20
development × 19
content-type × 17
document-library × 16
sharepoint-foundation × 15
forms-library × 15
column × 14
custom × 14
library × 13
validation × 11
permissions × 10