I\'m working on a simple login form, with two fields:
Another option if you are using jQuery for example is to remove the attribute.
$("input[required],select[required],textarea[required]").removeAttr('required');