how to stop form from sending plaintext info code example Example: javascript prevent form submit <form name="foo" onsubmit="return false">