getFieldValue on newForm

Forums General discussion getFieldValue on newForm

This topic contains 1 reply, has 2 voices, and was last updated by  Alexander Bautz 2 weeks, 2 days ago.

  • Author
    Posts
  • #26960

    Halim Lahoud
    Participant

    Hello,

    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!
    Halim Lahoud

  • #26962

    Alexander Bautz
    Keymaster

    Hi,
    Look at the Save and redirect settings in the Misc tab – basically you should use something like this:

    spjs.dffs.redirect("TheRedirectURL",false);

    Alexander

You must be logged in to reply to this topic.