New answers tagged

0

Make sure that src="/sites/Newsite1/SiteAssets/jquery-1.9.0.min.js" is a correct path or replace it with src="https://code.jquery.com/jquery-1.9.1.min.js" Also, you can upload Jquery file to style library of your site collection and create a new folder like js then upload the file inside it then use the following URL /Style%20Library/js/jquery-1.9.0.min....


0

unfortunately , summery task in SharePoint List and also Project Center in PWA can't be updated because it's a cumulative task to all child tasks that it calculated automatically based on build-in formula.


0

Thanks to Danny for putting me onto GetUrlKeyValue I was sending the field name into a URL and querystring to get mylist/newform.aspx?ProjectName=Test2 I was then trying to pull that Test2 into the lookup field (liked to the project list) "ProjectName" in the list "MyList" But even when loading the function for my old script with ...


2

No need to change the HTML You can target the TDs in TR (3rd row) with the CSS selector: .ms-formtable tr:nth-child(3) td { border-bottom:2px solid red; } The TR does not accept border styles


1

Edit Newform as advanced mode . From the above ribbon > Insert new form > cutom list form . the list fields now shown within table add a new row > merge it > and from the Above ribbon > Check HTML Control > Add Horizontal line at the new row Don't forget to remove old WebPartPages:XsltListViewWebPart


0

You can achieve this by simply add a querystring "Source=" in your survey URL. First, create a thank you page (e.g. /pages/thankyou.aspx). Then, in your survey newform URL (e.g. <site url>/Lists/survey/NewForm.aspx) add the querystring like this: <site url>/Lists/survey/NewForm.aspx?Source=/Pages/thankyou.aspx When the users completed the ...


2

You can simply restructure the HTML table. Assuming the default layout is as follows: __________________________ |Field1| | |______|___________________| |Field2| | |______|___________________| |Field3| | |______|___________________| And the corresponding code is: <tr> ...


0

In Library permissions you can create groups if you know the people that need to have read or write permission. Create a group A and give them contribute permission, then another group B with edit, and a visitor group with read.


0

Out of the box you don't have any feature to achieve this functionality in SharePoint forms. However you can easily do it by some custom javascripts and jquery. Check JS script to validate the group being called in popup box and if the login user belongs to the group show the panel on the form or else hide it.


0

We can edit these files. I could reach to these files by using SharePoint Designer. File-> Pages ->Open (on the right pane)->Lists. When a list is opened, we can see the custom forms for the content types and from there we can open these files.


0

For simpler way use window.Open var x = screen.width / 2 - 750 / 2; var y = screen.height / 2 - 600 / 2; <a class="evidences" title="To add evidences" onclick="window.open(\'' + url + '\', \'\', \'width=750,height=600,left=' + x + ',top=' + y + '\')"><div></div></a> Use SP Modal Dialog window Reference


1

Danny gave a great answer already, but in case someone is looking to do this within a SharePoint-Hosted App, you can create a custom button within Default.aspx with this code: <asp:HyperLink CssClass="menuLink" runat="server" NavigateUrl="JavaScript:window.location = _spPageContextInfo.webAbsoluteUrl + '/Lists/ListName/NewForm.aspx?Source=' +...


0

FieldName is the corresponding column name in the list. Do not used display name. Using Display name also works but when you change display name the control won’t render. So I always recommend using columns name for FieldName. Kindly check Note under the step 4 in below article. SharePoint List NewForm Customization in SharePoint Hosted App


1

I hope you are using InfoPath 2010 (as you havne't mentioned the version in your question) to submit data in multiple SharePoint list from single form. So, You can't achieve this through OOB solution. You can only submit data to one single list. Have a look at the following article, hope it helpful. InfoPath 2010 and SharePoint 2010 – List Forms vs ...


1

I quit using InfoPath and learned how to use highly customized forms in SharePoint Designer for the same requirement you are trying to satisfy. Using javascript you can use the default preSaveAction() function that SharePoint forms will use every time they are saved. Inside that function you would need to use jquery SPServices UpdatelistItems to make a New ...



Top 50 recent answers are included