Closes form and ignores required fields?

Forums Modern CEWP Closes form and ignores required fields?

Viewing 1 reply thread
  • Author
    • #36847
      Marcus Khoo

      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?

    • #36848
      Alexander Bautz

      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?


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