September 4, 2019 at 11:18 #26960Halim LahoudParticipant
I added a function to open a new URL after i hit the save button but when i do press the button, the new tab is opened even if all the fields arent filled, knowing that they are required fields. How can i check if the fields are filled before the process of saving and opening the new tab i need?
Thank you in advance!
September 4, 2019 at 18:31 #26962
Look at the Save and redirect settings in the Misc tab – basically you should use something like this:
February 21, 2020 at 11:48 #28767Filipe RibeiroParticipant
It’s possible to on Save and Redirect (to DispForm) and specify the destination TAB. I have 3, and one of them will act has a validation of a list of users that the message was sent.
Yet when you access to that registry (directly to DispForm, form AllItems) I want to open in the first has normaly do, in first TAB.
February 21, 2020 at 19:36 #28785
Yes, you can set the selected tab by using an URL query string parameter like this:
The tab index starts on 0 so your third tab has index 2.
March 19, 2020 at 19:09 #29193MajedixParticipant
thank you Alex for your reply and continued support. I’m end user and doesn’t have SP designer , How i can implement the same ideas with script editor but it shows a popup message that said ” We appreciate your submission and we hope that you enjoy your journey on the new Acknowledgment” and then redirect as usual to the list item.
Thank you very much.
March 20, 2020 at 09:04 #29204
It is unfortunately not possible to add a “post save message” directly in DFFS because the form is immediately redirected after a successful save (standard SP functionality).
The easiest would be to make a web part page in your site (for example in SitePages) where you add the message in HTML, and then use the URL to this page in the spjs.dffs.redirect function.
In the web part page you can either add a timeout function to redirect back to the homepage, or add an OK button to do the redirect.
- You must be logged in to reply to this topic.