How to enable prompt?

Hi Everyone,

I need to pop up a prompt when user click on update button, if the required fields are left behind. Can anyone please guide me how to achieve this.

  Discussion posts and replies are publicly visible