OpenWGA 7.6 - TMLScript reference

TMLForm "tmlform"
Method :

reset()

On object TMLForm "tmlform"
Usage Clears all fields and uploaded files from the form, resetting it completely
Description This method is most useful with persistent forms to clear their data when it is no longer needed.
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent