Forgot your password? Forgot your username? Create an account

 
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Date/time fields - how to

Date/time fields - how to 1 year 1 month ago #12863

  • tomykav
  • tomykav's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hello!

I would like to put a Date (YYYY-MM-DD)/Time (HH:MM) field to my contact form. The date field is no problem, but the time is. How can I do this? Is it possible?

Thanks!

tomykav
Last Edit: 1 year 1 month ago by Alex.
The topic has been locked.

Re: Date/time fields - how to 1 year 1 month ago #12864

  • Alex
  • Alex's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 7780
  • Thank you received: 241
  • Karma: 60
Hi,

Sorry, there is no date/time field.
You can define two combox fields and define the hours and minutes in them.
The topic has been locked.

Re: Date/time fields - how to 1 year 1 month ago #12865

  • tomykav
  • tomykav's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
OK, Thanks! One more question: How can I put the "minute" field next to the "hour" field?
The topic has been locked.

Re: Date/time fields - how to 1 year 1 month ago #12866

  • Alex
  • Alex's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 7780
  • Thank you received: 241
  • Karma: 60
That is done using CSS.
If you post the page with those fields on the forum I'll try to suggest the required CSS code.
The topic has been locked.

Re: Date/time fields - how to 1 year 1 month ago #12868

  • tomykav
  • tomykav's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hello!

The contact form is at

www.safranykatalin.hu/joom/index.php/contactform

I would like to put the "Óra" (hour in eng.) and the "perc" (minute in eng.) fields next to each other.
Could You help me editing css?

Thanks!
Last Edit: 1 year 1 month ago by tomykav.
The topic has been locked.

Re: Date/time fields - how to 1 year 1 month ago #12869

  • Alex
  • Alex's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 7780
  • Thank you received: 241
  • Karma: 60
This CSS code added at the bottom of the profile's CSS should do the trick:
div#aiContactSafe_mainbody_1 #aiContactSafe_row_aics_szolgalatkezdet_ora { display:block; width:auto; float:left; clear:left; }
div#aiContactSafe_mainbody_1 #aiContactSafe_row_aics_szolgalatkezdet_perc  { display:block; width:auto; float:left; clear:none; }
The topic has been locked.
  • Page:
  • 1
  • 2