Click to See Complete Forum and Search --> : Select and Character Questions


Javajoob
06-01-2008, 06:18 AM
When you are sending a selected item to a database and you identify the select box by name, do you just name the select box <select name="thisone"> or do you name every option as well <option name="thisone"><option name="thisone"><option name="thisone">?

Also when entering a username for a site or network is there a way to allow just for latin characters just for easier searching across the site? I know this kind of thing could usually been done with regular expressions but I was wondering about something with the iso-8882 thing or whatnot.

And is there a kind of formatting you can do where you can have keystrokes perform a certain HTML function in a textarea for the ones who don't know it that well?

Thanks

Fang
06-01-2008, 09:57 AM
1) The select does require a name, but not the option.
The option does require a value, else IE will not send the selection.

2) The server side script can be setup to accept only specific characters.

3) Line-brakes are the only formatting allowed in a textarea.