Hi I think var onsubmit : Event -> Void; for a form, should be var onsubmit : Event -> Bool; so you can return false to not complete the normal submission process. Cheers bd -- http://www.blackdog-haxe.com/ "It is no measure of health to be well adjusted to a profoundly sick society." --Jiddu Krishnamurti