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

Questions tagged [presaveaction]

The tag has no usage guidance.

5
votes
2answers
46 views

CSRListForm and PreSaveAction or PreSaveItem

I've used PreSaveAction successfully in the past, but now I'm working with a CSRListForm and neither one of these will fire off. Even if I use just a simple alert message. I know the CSRListForm ...
1
vote
1answer
114 views

PreSaveAction for Quick Edit Mode

I have build some scripts running in the PreSaveAction function for example to validate some data or conditionaly send an email via ajax call. Now I need this functionality when the user creates a new ...
1
vote
1answer
45 views

Auto refresh the page in Editform.aspx with ID query string param with updated list item value in Presaveitem()

am having an editform.aspx page in my SPO site. am using presaveitem() in my content editor web part to perform validation and etc after completion of calling of presaveitem(), i ant to stay on the ...
0
votes
2answers
261 views

Custom save button on newform.aspx is not visible, enabled. how to trigger event

I am trying to add one new custom button near the save button on a newform.aspx of my list in a SharePoint Online site. Here is the current content editor web part (CEWP) code in the newform.aspx, ...
0
votes
1answer
25 views

Automatically set value for certain fields in the new form before check in activity for the document library new form

we have a requirement to automatically fill certain fields, before the check in activity for the new form of the document library, how can this be achieved? it seems like the new form of the ...
0
votes
0answers
49 views

PreSaveItem function is not stopping the SAVE event in SharePoint 2016

Below is the code I am using, on click of save button it shows the alert I am using in it. but after the alert, it redirects to the next page instead of canceling the save event. function PreSaveItem(...
1
vote
3answers
149 views

JavaScript: Combine two IF-ELSE statements in “PreSaveAction” Function

sharepeoint list Newform.aspx needs to check before saving the item, for that i wrote a PreSaveAction funtion using javascript. right now i'm checking the expiration date with current date before ...
1
vote
2answers
61 views

Using PreSaveAction() on Edit page clears dropdown

I'm using a simple PreSaveAction() on my custom Edit Form. This is SharePoint 2013 on-premise. The goal is to validate a drop down menu against a text field. ie. If the Status drop down is set to "...