Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

HTML5 input required does not display warning messages when blank.

  • 2 svar
  • 1 har dette problem
  • 4 visninger
  • Seneste svar af Paul

more options

A form input with a required attribute should display a pop-up / hovering warning when the input value is blank on a submit attempt. Firefox on desktop does this fine but Android does nothing.

A form input with a required attribute should display a pop-up / hovering warning when the input value is blank on a submit attempt. Firefox on desktop does this fine but Android does nothing.

Alle svar (2)

more options

It's easy to test with the "Try It" on this W3schools page: https://www.w3schools.com/tags/att_input_required.asp

more options

Hi

Thank you for that - I agree that it looks a little odd. I have filed this for our developers to take a look at. You can follow progress on this at https://github.com/mozilla-mobile/fenix/issues/22229