This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Request for form field – date

7 years ago · Last reply by Alex S 7 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 7 years, 4 months ago

    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.

Have a different question or issue?

Start New Thread