Developer forum

Forum » Feature requests » HTML5 and dwsearch

HTML5 and dwsearch

Nikki Strømsnes
Reply
This was mentioned by Morten Bengtson in a different thread, but it's already a year old and I figured it deserved a thread of its own.

When creating a search form, assuming you love HTML5 as much as I do, it's actually better to use a search field (<input type="search" />) instead of a normal text field. However, dwsearch really likes them text fields, so if I don't add one myself, it will assume I forgot, and simply insert one for me. So now I have two input fields besides my submit button. Sad developer.

I'm not sure how Dw should handle this, but I suggest that it should not insert a text field, if there is already a search field present in the form.

Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer
Hi Nikki

Will have it registered as a bug and fix it ASAP!

Votes for this answer: 0
 
Nikki Strømsnes
Reply
Cheers! :D