Hello,

I would like to input date validator. How to do so? User must be able only to input date, otherwise is wrong data entry.

    <tr>
        <td>Tanggal :</td>
        <td><input type="date" size="12" maxlength="22" name="Tanggal" value=""></td><br>
    </tr>    

Please help. Thanks.

Member Avatar for diafol

Use a datepicker

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.