That would be "onmouseup", and not "onup". Also, it probably wouldn't work.
Try this instead:
onClick="document.forms[0].submit(); document.forms[0].text.value = '';"
Even better, use IDs for the elements you want to access, and document.getElementById
, since documents.forms[]
is quite non-standard.