replace subsring from form-input with another

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Martin Nadoll

    #1

    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


  • lallous

    #2
    Re: replace subsring from form-input with another

    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" <martin@nadoll. de> wrote in message
    news:c29sgt$joa $04$1@news.t-online.com...[color=blue]
    > 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 ä,[/color]
    ö,[color=blue]
    > ü with, lets say &auml; &ouml; and &uuml;
    >
    > is there any function, fired with onSubmit doing that for me?
    >
    > Thanks for any help,
    > Martin Nadoll[/color]


    Comment

    • Thomas 'PointedEars' Lahn

      #3
      Re: replace subsring from form-input with another

      lallous wrote:[color=blue]
      > You can write your own onSubmit() handler[/color]

      Only in your self-programmed user agent.
      [color=blue]
      > and attach it to your desired form.[/color]

      That piece of code is called "event listener" which
      an intrinsic event handler property can point to.
      [color=blue]
      > However it is better to do server checks/string replacements.[/color]

      True.
      [color=blue]
      > [TOFU][/color]

      Please read <http://www.netmeister. org/news/learn2quote.htm l>


      PointedEars

      Comment

      Working...