Category Buttons Listing | Code Snippets | Smart Quotes User Script
| JavaScript | Action Log
| LimeSurvey |
(Useful for LimeSurvey, for example.)
Add this at the end of the content, just before </body>
:
<script type="text/javascript"> document.querySelectorAll("input.text").forEach( function (element, index) { element.addEventListener('keypress', function(event) { if (event.keyCode == 13) { event.preventDefault(); } }); }); </script>