Support

Account

Home Forums General Issues Current date as checkbox option Reply To: Current date as checkbox option

  • To do this in real time you need js…

    
    <input id="remember" name="remember" type="checkbox" onclick="validate()" />
    
    <script type="text/javascript">
        function validate() {
            if (document.getElementById('remember').checked) {
                alert("Checked"); //Here you can print your date
            } else {
                alert("Unchecked");
            }
        }
    </script>