Observe_field sent bad data

I use an observe_field to check Email Address format in realtime.
I met a problem, when user type ‘[email protected]’ in email field,
request.raw_post sent back data like ‘123%40123.com=#’, not
[email protected]’,
what’s wrong?

On Mar 12, 2007, at 12:16 PM, Nanyang Z. wrote:

I use an observe_field to check Email Address format in realtime.
I met a problem, when user type ‘[email protected]’ in email field,
request.raw_post sent back data like ‘123%40123.com=#’, not
[email protected]’,
what’s wrong?

Use the :with parameter and read the value in the controller as usual
from params.

– fxn

Xavier N. wrote:

Use the :with parameter and read the value in the controller as usual
from params.

– fxn

your solution works. Thanks!