How to create expired date? But, expire date cannot input before today | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to create expired date? But, expire date cannot input before today

I am really confusing about this issue. User want to input expired date but cannot input before today. Please answer me, everyone.

17th Jun 2019, 9:41 AM
Rizki Rivaldi
6 Answers
+ 3
That's right, but user cannot input before today, like disabled. Ex. Today is 18, before 18 like 17 or less than that cannot click..
18th Jun 2019, 2:17 AM
Rizki Rivaldi
+ 3
Yes, i should set date validation as manual
22nd Jun 2019, 4:14 AM
Rizki Rivaldi
+ 2
you want an user to put a date in <input type="date"> but it doesnt work. am i right?
17th Jun 2019, 6:25 PM
Nico Ruder
Nico Ruder - avatar
+ 2
I am already discovered how to do this. Thanks Nico Ruder 😊😊
20th Jun 2019, 9:51 AM
Rizki Rivaldi
+ 1
can you send a link to your code
19th Jun 2019, 12:05 AM
Nico Ruder
Nico Ruder - avatar
+ 1
how what was the problem
20th Jun 2019, 11:58 AM
Nico Ruder
Nico Ruder - avatar