Sarah O

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Modify Default Error Message – Duplicates #37511
    Sarah O
    Participant

    Is there a way to create a rule that will enforce unique values for a field and it will display an alert message in the rule if field is not unique upon save?

    in reply to: Redirect after save/cancel #37032
    Sarah O
    Participant

    Thank you, I tried this and it worked for redirecting on save.

    Is there a similar functionality to redirect on cancel? I tried PreCancelAction, PreCloseAction, with the same syntax and neither worked

    in reply to: Redirect after save/cancel #37024
    Sarah O
    Participant

    UPDATE TO CODES:

    For some reason when I posted this reply the code was corrupted. I attached a screenshot to this post

    Attachments:
    in reply to: Redirect after save/cancel #37023
    Sarah O
    Participant

    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

Viewing 4 posts - 1 through 4 (of 4 total)