Redirect based on form values

Forums vLooup for SharePoint Redirect based on form values

Viewing 1 reply thread
  • Author
    • #34247
      Paul Heffner

      I have a form with a filed “SecondaryCategory”. I would like the form to redirect a user to another list, let’s call it “VQ”, when the Secondary category is a specific value.

    • #34250
      Alexander Bautz

      Do you want a redirect after saving the NewForm or EditForm? – if so, to NewForm of the VQ list, or to an existing item?

      Here is an example that redirects to NewForm – just drop it in Custom JS:

      function dffs_PreSaveAction() {
          var sc = getFieldValue("SecondaryCategory");
          if(sc === "your_target_value"){
          return true;


Viewing 1 reply thread
  • You must be logged in to reply to this topic.