Domino Searching Without JavaScript
Welcome to Search Domino! This simple database demonstrates a way of building in search features to a Domino database without using any JavaScript./p>
As you can see, there's a search box at the top of this and every page. Press Alt + S and you will enter that field. Type your query and press enter and you will be taken to the search results. Press enter without having entered a query and you will be taken to the full search form.
All this happens without the need for any JavaScript code. Until now I've had to use JavaScript to, in effect, cancel the action of any form the search field was a part of. Not only is this slightly ugly but it can also go against any accessibility efforts you might have made. Not all users and/or browsers support JavaScript. Building a search feature that relies entirely on JavaScript is a Bad thing (yes, with a capital B).
The beauty of the approach herein is that the only code it uses is @Formulae! No agents and no LotusScript in sight.
Last few articles created: