Closes form and ignores required fields? 1.0.25.0

Forums Modern CEWP Closes form and ignores required fields? 1.0.25.0

Viewing 1 reply thread
  • Author
    Posts
    • #36847
      Marcus Khoo
      Participant

      Hi,
      I have a custom JS on a form to do some field manipullation and I am using

      function dffs_PreSaveAction(){
      …field manipulation…
      return true;
      }

      It seems if set to true; then it will always “save” – even if required fields have not been entered.
      Is this a bug? OR, how do I modify the script to return false if required fields are not entered?
      Thanks!
      /Marcus

    • #36848
      Alexander Bautz
      Keymaster

      How is the field set as required? – using a rule, or in the list settings?

      Also, what kind of field manipulation are you doing in the dffs_PreSaveAction function?

      Alexander

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