Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sending Current Date from html page

Featured Replies

Hi, I have users submitting request for our services via the web. I have input boxes and textboxes. I would like to use a hidden text box to submit the date and time when they submitted this request. I have tried the following but it gives me an error.

<INPUT TYPE="hidden" NAME="submitted" VALUE="-[currentdate]">

what is the correct way to phrase this.

my database field is named submitted and is a date field.

Any help is appreciated

------------------

Robert Hernandez

Programmer

http://www.rgvwebs.com

  • Author

Thanks a lot for your help!

I really appreciated.

------------------

Robert Hernandez

Programmer

http://www.rgvwebs.com

I am assuming that each time somebody uses your site that they create a new record in the database.

In which case all you need to do is select the options button for your date field in Define Fields area of FM Pro. Then, select the autoenter tab and check the top option that says autoenter a creation date. Then, everytime somebody creates a new record the relevant date will be filled in. This also applies to the time field.

You do not have to do anything within the CDML other than post the -new command that tells your datbase to create a new record.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.