HTML5 Data Bindings Support Product Page

Not a problem

search field.

Reported 11 Mar 2015 10:37:23
1
has this problem
11 Mar 2015 10:37:23 mark c posted:
Hi. Hope all is well. I created a search for a page I'm working on. It works, the user types an item in the search field and click search it displays the info.

The problem I have is if I type something in the search field and hit enter instead of clicking search it does not work.

Thanks
Mark

Replies

Replied 12 Apr 2015 11:08:39
12 Apr 2015 11:08:39 Dave Smith replied:
You can try the following if you are still experiencing the issue:

<input name="INPUT NAME" type="search" class="form-control input-md input-sm" id="INPUT NAME" data-clear-btn="true" placeholder="PLACEHOLDER TEXT" onChange="MM_callJS('$.dmxDataBindings.globalScope.update(\'$INPUT NAME\');')">


Hope this helps rectify your issue.
Replied 14 Apr 2015 09:39:06
14 Apr 2015 09:39:06 Teodor Kuduschiev replied:
Hello Mark,
Hitting the enter button, usually submits a form on your page.
Please check the following tutorial www.dmxzone.com/go/22476/filter-as-you-type-with-html5-data-bindings and you won't need a search button on your page.

Reply to this topic