is there a (simple) way to raise a javacript warning message on onchange event.? Basically the same which is already raised when a mandatory field is not filled. Is there any existing module where this function works?
Thanks for help!
In a on change, you can raise a warning or/and values...
'message': _('Your message'),
Be careful not to use @api.one in that case as it will mangle the dictionary (put it in a list, which is not supported by the web client).
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/29/15, 1:27 PM|
|Seen: 840 times|
|Last updated: 3/31/15, 1:27 PM|