Create a Save button and return back to the item in edit mode
Hi, I would like to create a button on my SPform to Save data and reload the page in the 'Edit Form' mode. Can I do that? Basically just want to duplicate the SharePoint 'Save' button and put it in another section of the custom designed form and to load it back into the 'Edit' mode on the same item from the list.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
You can place additional Save button as described in the following post:
http://spform.com/office-365/cust ... oint-forms
Next, put the following code into its OnClick property to stay on the form after saving:
You can place additional Save button as described in the following post:
http://spform.com/office-365/cust ... oint-forms
Next, put the following code into its OnClick property to stay on the form after saving:
Code: Select all
fd.sourceFormParam(window.location.href);
Hi Dimitry,
So I basically added a 'Save' button, but it doesn't actually save the data. It's coming back to the item, but the data is cleared out. I think I might be missing a step. This is what I did:
1. Went to the 'Edit' Form in Designer, Dragged in a 'Save' button.
2. Clicked on the Save button and accessed properties on the right hand side. Changed 'OnClick' property to execute this:
fd.sourceFormParam(window.location.href);
3. Saved Form in Designer.
4. Went to the list edit form, nothing changing.
Any suggestions?
So I basically added a 'Save' button, but it doesn't actually save the data. It's coming back to the item, but the data is cleared out. I think I might be missing a step. This is what I did:
1. Went to the 'Edit' Form in Designer, Dragged in a 'Save' button.
2. Clicked on the Save button and accessed properties on the right hand side. Changed 'OnClick' property to execute this:
fd.sourceFormParam(window.location.href);
3. Saved Form in Designer.
4. Went to the list edit form, nothing changing.
Any suggestions?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
You can redirect users to the edit form from the new one by following the steps from the following article:
http://spform.com/forms-designer- ... sharepoint
You can redirect users to the edit form from the new one by following the steps from the following article:
http://spform.com/forms-designer- ... sharepoint
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests