Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TEXT FIELD QUESTION 1

Status
Not open for further replies.

amejiae

Programmer
Nov 8, 2006
2
CO
Hi,

Does anybody knows how to restrict some kind of characters when you try to write in the text field in dreamweaver. for example:
restrict characters such as(;,*,#).

Thanks for your help.
Regards
Alejandro

 
With standard HTML I'm afraid not
But if you have access to some kind of server-side language, you can use it to check the contents of the field after its been submitted and either strip them out, or return to the form, and show a message stating the field contains illegal or invalid characters.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top