跳至內容
選單
此問題已被標幟
1 回覆
9934 瀏覽次數

Hi i want to display a warning message before certain tasks are carried about, e.g When i user click a button on a form, system should ask and verify about two options which one to execute, i also want to display a message when an action is completed, or failed. How can id do this on form and in wizards?

頭像
捨棄
最佳答案

You can add confirm attribute to you action (a button) for example :

              <button name="cancel_voucher" string="Cancel Voucher" type="object" states="posted" confirm="Are you sure you want to unreconcile this record?"/>
頭像
捨棄
作者

yeah, thank you, its working now

Make it resolved please, respect to FAQ