close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

INSERT/UPDATE form - how to combine 5 form field to submit to one database field? Datetime

Thread began 9/26/2014 3:12 am by Nathon Jones Web Design | Last modified 10/01/2014 9:22 am by Nathon Jones Web Design | 671 views | 14 replies

Nathon Jones Web Design

WebAssist Datepicker has inserted the following on lines 75-77:
<script src="//"></script>
<script src="//"></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=""></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.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...