WebAssist Datepicker has inserted the following on lines 75-77:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
</script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
I don't understand the erroneous closing "</script>" tag - perhaps that's a bug.
At the bottom of the page, on line 298, for the purposes of using Bootstrap, I have:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
So, which should I remove? I need the bottom referenced jquery for Bootstrap.
With regard the date and time entry in general, I'm trying to remove the possibility for my client to enter incorrect data....
Date: Using the Datepicker, how can I display the date in dd/mm/yyyy format in the form field, once the date is selected from the Datepicker, but have it insert into the database in yyyy/mm/dd format?
Time: How do I ensure that people don't enter 10:30, for example, as opposed to the correct 22:30? Just having a time field as input type text is going to open up an opportunity for client error to occur. I could ask them, via a drop-down menu, to select AM or PM, but I'm not sure how to then convert all that into a single time insert. I'd like to maintain the field as TIME in the database because I need to display the events chronologically.
I really would appreciate your advice on the best way to handle date and time entry as this all seems overly complicated.
Thank you.
NJ