A simple form validator used javascript.