?
Solved

Default Value in date box

Posted on 2011-03-23
3
Medium Priority
?
458 Views
Last Modified: 2013-12-25
Is there any way to edit the attached code so when it is pulled up in a browser it will already have a default value of 0000-00-00
<td>
<b>Date Concluded: YYYY-MM-DD</b> <br />
<input type="date" name="date_nine" size="30" /><br />
<br>

Open in new window

0
Comment
Question by:wantabe2
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
svgmuc earned 1000 total points
ID: 35200895
<td>
<b>Date Concluded: YYYY-MM-DD</b> <br />
<input type="date" name="date_nine" size="30" default="0000-00-00"/><br />
<br>
0
 
LVL 6

Assisted Solution

by:HyperBPP
HyperBPP earned 1000 total points
ID: 35200897
<td>
<b>Date Concluded: YYYY-MM-DD</b> <br />
<input type="date" name="date_nine" size="30" value=0000-00-00 /><br />
<br>
0
 
LVL 14

Expert Comment

by:svgmuc
ID: 35200920
<input type="date" name="date_nine" size="30" value="0000-00-00"/><br />

should work too
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question