Datepicker in Squiz Matrix Forms


(Ryan Archer) #1

We are working using Squiz Matrix 4.18.4

 

I'm updating a form which contains many elements including the 'datetime' question type. Boy it's U-G-L-Y! Whilst going into the page inspector, I thought I would just change the input type to 'date' instead of 'text' as is placed there by the keyword - Wow, looks like HTML5 standard puts a datepicker in there...

 

I like it, so much that I want to use it to record the form data. I can't change the value from within Squiz Matrix obviously, would it be possible to capture this data and email/collect it using some custom form HTML code?

 

Also, I'd really like to see this new HTML5 feature be implemented by Squiz Matrix (have not yet used v5, so maybe that is the case).


(Joel Porgand) #2

add a text question and use the input type drop-down on its configuration to change it to an html5 date field (this feature was added in 4.18.3 so should be available to you)


(Ryan Archer) #3

Thanks for that, it worked out for me. Shame this HTML5 feature is not supported within more browsers...

http://caniuse.com/#search=date