Look at this script:
[login to view URL]
Let say I have the following list:
broad street
broadway street
broadway blvd
bluesky road
high street
main street
When i type 'b', the script above will list the following:
broad street
broadway street
broadway blvd
bluesky road
I want to be able to put some numeric (integer/decimal) on the textbox and the script to do nothing until the sequence is no longer numeric followed by space and the script will display the list.
for example:
'3' the script will do nothing
'35' the script will do nothing
'35 B' the script will list everything that begins with B
'35b' error: the script will do nothing because there is no space between numeric and character
'35b B' error: the script will do nothing because there is no space between numeric and character
'35.5' the script will do nothing
'35.5 B' the script will list everything that begins with B
'35,5' error: the script will do nothing because there is illegal character that makes the invalid numeric
'35,5 B' error: the script will do nothing because there is illegal character that makes the invalid numeric
'35|5' error: the script will do nothing because there is illegal character that makes the invalid numeric
'35|5 B' error: the script will do nothing because there is illegal character that makes the invalid numeric
For all error message, i want the error to be displayed right below the textbox in red
the page should contain only single long textbox and submit button