Hi Alexander,
I’d like to redirect the user to our homepage instead of the default list when a form is saved or cancelled. I tested the following codes in the custom JS tab on all forms and I am still being redirected to a list instead of the intended URL. (used google URL for confidentiality purposes). Can you please take a look at the codes I’m using for any errors?
function dffs_PostCancelAction() {
location.href = “https://google.com”;
}
function dffs_PostSaveAction() {
location.href = “https://google.com”;
}
Currently operating on the following versioning of DFFS:
Dynamic Forms for SharePoint v4.4.5.27 – July 30, 2023
CSS version: 4.51 / 4,51
spjs-utility version: 1.356
Loader version: v2