but it not works well. if condition return false then my form is not get
submitted this is exactly what i want but when it returns true it
produce something like this o/p on UI.
Element.update("user_report", "\n\n\u003Ctable class=\"list