Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8427027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:41:10+00:00 2026-06-10T04:41:10+00:00

I was playing with the pattern attribute and, of course, attempted to submit the

  • 0

I was playing with the pattern attribute and, of course, attempted to submit the form with a string that deliberately did not match the required pattern, given the HTML:

<form action="#" method="post">
    <input type="text" pattern="[A-Z]{2,3}" />
    <button type="submit">Submit</button>
</form>

JS Fiddle demo.

I attempted to submit with 1, which of course resulted in error-handling by the browser (Chrome 21):

I tried to right-click the pop-up, and ‘inspect element,’ but so far as the Web-developer tools were concerned I seemed to be inspecting the input element (which makes sense, I suppose), rather than the pop-up dialogue. So, I was wondering: is it possible to access/interact with this dialogue via JavaScript (for responsive enhancements) or by CSS (for styling)?

The main goal would be to offer high-contrast alternatives for user-enhancements, or simply pop-ups consistent with a site’s styling and colour-schemes.

Edited to link to MDN for compatibility information:

  • HTML 5 form attribute compatibility.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T04:41:12+00:00Added an answer on June 10, 2026 at 4:41 am

    It is possible to style the popup, but support is limited and only works in webkit based browsers. As for the other browsers, there may be similar psuedoselectors that you can use, but I was not able to find them.

    It boils down to being able to find/know the DOM structure of those popups, and then adding CSS that will modify them. After all, they’re just DOM elements.

    example: http://jsfiddle.net/zbwJP/1/

    documentation

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am playing with the fluent interface pattern. First, I wrote something like that:
I'm playing around with the pattern attribute in html5. It accepts a regular expression
I have been playing around with the MVP pattern using winforms for the last
I am playing with a basic implementation of the Query Object pattern (in quotes
Playing around with MongoDB and NoRM in .NET. Thing that confused me - there
Just playing around with Wordpress / Contact Form 7 . Is it possible to
I'm playing with my first wpf project using the mvvm pattern. I have Microsoft
I'm playing around with quotations and I can't see an expression pattern for type
I am playing around with Castle ActiveRecord and noticed that the download included the
I started playing with Racket pattern matching system recently and got into a problem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.