close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
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 | 483 views | 14 replies

Jason ByrnesWebAssist

replace the one at the top:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

with the newer one:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>

and delete the reference at line 298

you can also remove the extra closing script tag.


in the date picker settings, you can select the date format you wish to use, you will then need to add code to reformat the date when it is submitted:

for example, assuming the name of the datepicker element is set to DatePicker:

<?php
if(isset($_POST['DatePicker'])) {
$_POST['DatePicker'] = date("Y-m-d", strtotime($_POST['DatePicker']));
}
?>




for the time field, I Would use a select list, format the options in 24 hour time, so have a selection for 10:30 and another 22:30, etc.

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

Content

rating

Layout

rating

Ease of use

rating

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...