Firefox 4 highlights data entries in red when they are not the type expected. Can I turn this off? 3.6 didn't do it.
This condition showed up on a Sudoku site
http://www.websudoku.com/?level=2
If I enter a non numeric character (\) in one of the boxes, the box gets outlined in red and when I hover the cursor there is a message saying "Please match the requested format". This did not happen in 3.6 and is very distracting so I would like to know if it is an option that can be turned off.
Thanks
All Replies (6)
I'm not seeing that.
Clear the cache and the cookies from sites that cause problems.
- "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
- "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
Similar problem on an admin page in one of our portals. Issue also exists on Chrome, but none of the admins use Chrome, so we had not fixed it.
Issue for us was with the HTML in the INPUT field OLD: input type=number pattern=[0-9]* NEW: input type=number
We needed to do a 0.4 in the data, and the pattern would not accept. Check the HTML of the site if you are able and see if you can advise the site to fix it.
Always keep a version of Internet Explorer on hand for annoying stuff like this. Problem solved.
This may be due to a malformed input validation code on the site's page. HTML5-compliant validation was introduced in Firefox 4.0 if I recall correctly; if the site is using the |pattern| field incorrectly, the form will malfunction.
The only workaround I know of is to utilize another browser or 3.x of Firefox.
You can probably modify the page code with a JavaScript bookmarklet or via the Firefox/Tools > Web Developer > Scratchpad (Shift+F4)
- https://developer.mozilla.org/en/HTML/element/input
- https://developer.mozilla.org/en/Using_files_from_web_applications
javascript:(function(){var A=['pattern','required'];function R(w){try{var e,a,i,j,x,r=1;e=w.document.getElementsByTagName("INPUT");for(i=0;x=e[i];++i){for(j=0;a=A[j];j++){if(x.attributes[a]){x.removeAttribute(a);}}}}catch(e){r=0}return(r)}R(self);var i,x;for(i=0;x=frames[i];++i)R(x);})();
Hi,
Found a solution for this. You have disabled form validation with novalidate="novalidate"
Use <form novalidate="novalidate">
It's working fine for me.
Ask me if any doubts at thirumalesh@eruditesoft.com