DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Design

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-22-2014, 12:53 PM   #1
CarlSeiler
Member
 
CarlSeiler's Avatar
 
Join Date: Oct 2005
Location: Denton, TX
Posts: 271
Default What am I missing? Input/Required HTML5

Hi everyone,

According to the caniuse.com site, the required attribute of the input element is supported by just about every browser out there. See:
https://html.spec.whatwg.org/multipa...orm-validation

While I realize that you must you server-side validation for everything received from the user, I'm at a loss as to why required doesn't work in Internet Explorer:
HTML Code:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Form</title>
<meta charset="utf-8">

</head>
<body>

<form method="post" action="input-test.html">
    <fieldset>
    <p><label for="search">search
    <input id="search" name="search" type="text" placeholder="Search term" required></label></p>
	
	
	<input type="submit" value="SEARCH" class="submit">
	</fieldset>
  </form>
  
</body>
</html>
I cut out everything else, including js libraries and css, thinking maybe something else was overriding it, but I still can't see this required attribute enforced in IE 11.
CarlSeiler is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Advice: Moving From Flash to HTML5 Ronald Software 3 01-17-2015 11:57 PM
XHTML to HTML5 CarlSeiler Web Site Building & Maintenance 5 12-16-2011 07:41 AM
Neat demonstration of HTML5 Kelvyn Web Design 1 07-21-2010 08:44 AM
CSS input for inline <ul> width dacoyle Web Design 18 01-15-2009 03:29 PM
Anyone have input/ideas wrt Day Rates? curveto Photography 6 11-19-2007 06:24 AM


All times are GMT -8. The time now is 03:17 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.