New answers tagged

1

I think you cannot have code for List form instead we can have for Library form. but you can try to add a InfoPath form web part and place the InfoPath list form on that web part. add a content editor web part with the following func to reference the form (div) directly: function printInfoPathForm(){ var ipForm = $(INFOPATH_FORM); ...


3

You can do it, using both JSOM and the Rest OData API, but you´ll have to validate the data on the client, Sharepoint will not handle it.


1

You can create custom list forms using SharePoint Designer. Open SPD Open your Site Choose your List under Lists and Libraries Choose List Form from the ribbon Define the name and type(new/edit/view) of the new form You should now see your new form at the bottom-right Forms section. Click on your form to edit it Click Advanced Mode in ribbon All the ...


0

try this and use a Calculated Field =DATE(YEAR([Start Date])+2,MONTH([Start Date]),DAY([Start Date]))


0

This requirement can be handle using Content Editor WebPart or Script Editor WebPart. You can edit the NewForm.aspx and add the CEWP/SEWP and handle the change event for the StartDate control. And based on this you can manage your EndDate control. Similar post is shown Auto-Populate the Field Values Based on Text Change in SharePoint Online List Forms.


0

You can use JQuery for this purpose. $(document).ready(function () { $("#idoftheTableElementContainer input").each(function () { $(this).change(function () { //label next to checkbox holds the value. if ($(this).next().val() == "random value") { $("#idofbutton").click(); } }); });...


0

I had same issue where my parentColumn and childColumn were required fields. Once made them optional then it worked again. Not sure if SPServices has a way to deal with them if required.


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

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