<!DOCTYPE html> <html> <head> <style> :-moz-submit-invalid { display: none; } </style> </head> <body> <form> <input required> <button type='submit'></button> </form> </body> </html>