470,613 Members | 2,448 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,613 developers. It's quick & easy.

replace subsring from form-input with another

hello,

i want to fill a MySQL Table with the string, submitted in a form.
before my action page receives the value, i want to replace all of my , ,
with, lets say ä ö and ü

is there any function, fired with onSubmit doing that for me?

Thanks for any help,
Martin Nadoll
Jul 20 '05 #1
2 1191
Hello

You can write your own onSubmit() handler and attach it to your desired
form.

However it is better to do server checks/string replacements.

--
Elias
"Martin Nadoll" <ma****@nadoll.de> wrote in message
news:c2*************@news.t-online.com...
hello,

i want to fill a MySQL Table with the string, submitted in a form.
before my action page receives the value, i want to replace all of my , , with, lets say &auml; &ouml; and &uuml;

is there any function, fired with onSubmit doing that for me?

Thanks for any help,
Martin Nadoll

Jul 20 '05 #2
lallous wrote:
You can write your own onSubmit() handler
Only in your self-programmed user agent.
and attach it to your desired form.
That piece of code is called "event listener" which
an intrinsic event handler property can point to.
However it is better to do server checks/string replacements.
True.
[TOFU]


Please read <http://www.netmeister.org/news/learn2quote.html>
PointedEars
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by middletree | last post: by
3 posts views Thread by Roy Adams | last post: by
10 posts views Thread by Terry Olson | last post: by
3 posts views Thread by Andy Sutorius | last post: by
6 posts views Thread by DataSmash | last post: by
15 posts views Thread by gjhames | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.