How can I check if a field contains html tags and alert the user instead of submitting the form?