Removes spaces from a string variable within a script or from user input into a textbox. Several different uses are shown on the script example page.
This JavaScript code search form opens a seperate window where you can select from search engines such as Yahoo!, Excite, and more. Awesome!
This Script can be used to validate your form for numeric values. The Numeric TextBox allows only numbers and accepts one decimal Point. Compatible with both Netscape and Internet Explorer.
Strips excess spaces from a field. Users sometimes enter " " in required fields to trick most validation that only checks for "" length fields. This JavaScript takes a string and removes the leading and trailing spaces and also any extra spaces in the string. IE only.
Converts carriage returns in a string to the tag so that the input can be properly displayed in HTML. Without the script, returns in an input field are not preserved when submitting in a form. Useful for guestbooks or other times when a user's input must be preserved.
Create a survey asking people to rank things, and this JavaScript will validate that everything is ranked, and no rankings are repeated. Could be adapted into a solution puzzle or game.
Validates that every Radio Button question on the form has been answered. No modifications needed!
Over 70 popular and unusual internet search engines in a dropdown box. Great little tool to add to a site to help your community grow.
Wraps entries in a textarea box to whatever number of characters per line you want. For example, The script can automatically insert a return after each 50 spaces, so that the form contents you receive are more readable. (The script does indifferently break lines in mid-word, a possible fix for the next version?)
Quickly add commas to any numerical form input. Great for displaying large numbers!