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 | 484 views | 14 replies

Jason ByrnesWebAssist

Originally Said By: Nathon Jones Web Design
  Thank you Jason. The extra closing script tag is inserted whenever I add a Datepicker to the page so can I log that as a bug with you?  


yes, i will log a bug for that

Originally Said By: Nathon Jones Web Design
  The sample code you've provided, to reformat the date when it is submitted...does that go above the Insert code or is that held within the body section?  



it goes before the insert

Originally Said By: Nathon Jones Web Design
  I had considered a select list for the time but was concerned about the length of the list.  



well, you also say you want to prevent a bad time from being entered, you need to blance the two concerns, the select list is the best way to go.

Originally Said By: Nathon Jones Web Design
  Also, relating to how the time is submitted to the database, I created a TIME field in my MySQL database but when I look at that in an ODBC connected Access database whilst it does log the correct time from my form, it also appears to store the current date. Will that cause me problems?

Appreciate the help. Thank you.
NJ  



no that will not cause problems, you can use the PHP date function to convert the date time to only show the time portion on displaying the recordset information.

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