Closes form and ignores required fields? 1.0.25.0
- This topic has 1 reply, 2 voices, and was last updated 3 years, 5 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › Modern CEWP › Closes form and ignores required fields? 1.0.25.0
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
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