Validation Message keeps on showing

Hi Guys, I have a sample UI below where in a validation message shows when a button is clicked.

When Button "Complete" is clicked it validates if Field1 to 5 has value. While the "Save and Close" button only validates the Fields 4 and 5. 

In this scenario the "Complete" button is clicked which shows the validation message below since Field1 to 5 is empty. Then I put values to Field4 and Field5 and clicked "Save and Close" this time. Since I'm just clicking "Save and Close" It should proceed with submission of the form since Field4 and 5 have values. But it keeps showing a validation message when clicking "Save and Close". How can I can hide the validation message so that when I click "Save and Close" the form can be submitted.

Thanks in advance!

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data