Which RoboHelp version? RH 11.0.4 or something else?
Did you per chance open the topic in the RoboHelp editor? Or did you only use the popup with settings to change the editor? The reason I ask is because the editor is known for causing problems.
If you open the Topic.slp with notepad++ and look at the end of the file, do you see some content that suggests search? Or only the topic placeholder?
The help guide from which the image above was taken was generated using RoboHelp 18.104.22.168 by right-clicking on the Responsive HTML5 option in the Single Source Layouts pod, and selecting the Generate option from the menu which appears. This opens the Responsive HTML5 Settings dialog box. On this box I selected the Save and Generate button, and all files and topics are generated locally. I then selected the Index.htm file to open the completed help file and took the screen capture you see above.
We are currently developing a web-based application from which we intend to make this HTML5 help guide accessible. When I generate the finished help guide and all related files on my local C: drive and then open the Index.htm file to view and test the finished help guide, it appears fine. However, when I put a search term into the search box and then hit enter, instead of searching the topic contents of the help guide and returning search results for the term I have entered, nothing happens in the help guide itself and a new Windows Explorer window opens to the local folder on my C: where all of the generated help guide files and folders reside. It's as if initiating a search via the search box in the help guide initiates a search for files on my computer instead of searching the written content of the help guide itself.
I was able to locate the Topic.slp file in Notepad and it appears that there is some content related to the generation of the search features displayed in my original screen capture above. What I am more concerned with is why the use of the Search function to search for written content among the topics of my help guide is not working.
Here's a screen capture of the area in the Topic.slp file that I believe generates those search features:
Do you have any advice for me on how to get the search function to work?
First off, please upgrade to RoboHelp 11.0.4. The patches contain enhancements to the output as well. Once upgraded, regenerate the output and try again.
If that doesn't help, add a new Responsive HTML5 Layout to the product and use that for generation. Does the search work in that case?