I have created a custom field selecting date type,selecting the date format and time.Actually I will need only Time field but the system doesn't alow to create
custom field of type date, without selecting a date format and later in webforms I selected Time widget. In webform it is displayed as time field only
But after the user submits the webform, In civicrm contact current date is also displayed with the time(screenshot)and How to get only the Time value in civicrm?I need this field for time of birth of the user.
Any help?
-
why don't you create a text field and save the value from webform to custom field ?– RameshJun 13, 2018 at 14:28
2 Answers
Since you are using date field it won't allow you to store only time. One option would be to use custom field of type text to only store time or use date field to store DOB with time.
HTH
Pradeep
-
-
1