Infusionsoft has provided several different types of custom fields, including the date and the date/time field types. The date field type conveniently provides a date picker that makes it easy for your visitor’s to select a date. The date/time field type provides a time picker that makes it easy for your visitor’s to select a date. But what if you want your visitor’s to pick a date and a time?
With the help of an HTML Snippet you can easily combine the benefits of both the date and the date/time field types.
First, you’ll need a custom date/time field. If you aren’t familiar with creating custom fields, please review the documentation at the Infusionsoft website.
Next, you need to find the field’s database name. On the custom fields page, click the View the field database names (for the API) link. This will open a new window that lists your custom fields and their database names. As you can see in the screenshot, our field’s database name is Datetime0. Write this down, you’ll need it later.
Add your date/time field to your web form, then create an HTML Snippet with this content (replacing Datetime0 with the database name of your custom field):
That’s it! Your web form’s date/time field now has both a date picker and a time picker.