Attachment field

Hi,
i have two attachment field in single doctype.these two are mandatory when i upload some file in 1 st attachment and its trigger save action so for its shows some mandatory popups like other attachment is mandatory. but i dont want like this when two files are completely update then we save right then only its shows missing mandatory fields.
my frappe version is 13.50
erp version is 13.50
Thanks in advance