jQuery Form Validation, Only Allow .EDU Email Addresses

前端 未结 3 774
无人及你
无人及你 2020-12-19 16:13

I am using the jquery validate function and plugin located here. http://docs.jquery.com/Plugins/Validation

I am going thrue the js file and i have found the email va

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-19 16:45

    You probably will still get spam from non .edu email address.

    I would suggest checking the email domain server side.

    So that the email has to be .edu or it won't mail.

    Otherwise if I turn off my JavaScript in my browser I can submit any email address and it will send.

提交回复
热议问题