AnsweredAssumed Answered

required field issue in Sugar7

Question asked by cfton cfton on Dec 19, 2014
Latest reply on Dec 22, 2014 by newbie (^_^)
Hi,
I have a required field in Account module : name 
I also have a logic for :
save: function () {
//logic
}
in custom/modules/Accounts/clients/base/views/creation-actions/create-actions.js

But surprisingly if name is Empty and you click on save, logic in save function run !!
Why?!
And how may I check all of mandatory fields are met in save: function ?
I set required for name in studio

Regards,
Rega.

Outcomes