Understanding Voice Recognition Search Using Visualforce

Reading Time: < 1 minute

We are going to learn about voice recognition using visualforce in this unit.
How is it working on salesforce standard search bar?
First of all, we need to right click on the search bar and then select “Inspect Element”. After that, we need to understand id and classes for this box.
In this javascript we will use searchBoxClearContainer,phSearchInput,phSearchInput and phSearchButton.
We are using javascript functions to bind on salesforce search box. Whenever user click on search box, an event start listing the voice. After completion of voice, It will submit the text generated from voice to search box.
After that salesforce performs the search on that text. From this unit, I believe you have good understanding of voice javascript code.
Try this demo code:

One thought on “Understanding Voice Recognition Search Using Visualforce

Leave a Reply