Confirmation Message or Popup which need to work based on the value in Input widget

In a web page, I have few input widgets. While submitting the data, I need to compare the data or value inserted by the user with the existing data, I need to show a confirmation message or pop-up that there is a difference. If the user is ok with it, the button should execute otherwise it should stop. I have tried with  Confirmation message option, but the inserted value was not able to captured using Typedvalue. Later I tried using a pop-up but it was not continuing with the button click event. Please let me know how can I do this?


If you use a popup, use the popup_editor_notify action to continue the submit, you can give an parameter to the notify function to know if you should submit the data or cancel the update 




Thanks. it works