Incomplete change to include javascript check on form submit.