Home>Support>Request for form field – date

Request for form field – date

Writing a widget for a client, using the information below (really cool features added here since last time btw)
https://siteorigin.com/docs/widgets-bundle/form-building/form-fields/

However, I’m missing a field for specifying a date.
So, I’m requesting this for a future release, and maybe a solution to use for now (i have made a date section with 3 selects, one each for YMD, but i’m really not a fan of it :) )

I was hoping that ‘type’ => ‘date’ would at least give me a html5 date input, but i got an error.

Thanks!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 5 years, 11 months ago Alex S
    Hi, I Work Here

    Hi Linuzitac,

    I’ve marked this thread as a feature request. We often look through these threads to get ideas for what to add in our future updates. Hopefully, we’ll be able to add this in a future update.

    You best bet for a solution, until this form is introduced, would be to create a custom form field and set it up to either output a basic html5 date field or your preferred datepicker JS library.

    I was hoping that ‘type’ => ‘date’ would at least give me a html5 date input, but i got an error.
    We don’t have a date form field so trying to use one will result in an error.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More