You are here: Re: Form Submission Question « HTML « IT news, forums, messages
Re: Form Submission Question

Posted by hywel.jenkins on 11/17/05 18:02

Jeremy wrote:
> Hi All,
> I'm trying to create a client-side event that will run when the user
> submits a form. I want them to be able to enter a value for USERID
> that will either be "joe@domain.com" or just "joe."
>
> If the value is just "joe" don't do anything to it, and if the value is
> "joe@domain.com", strip the "@domain.com" before submitting it.
>
> Here's something that I thought might work, but didn't.

That's because your code isn't JavaScript. If that's supposed to be a
pseudo-code representation of your realy code, it's useless. Post the
real code.

If you're submitting to a server-side process do the interpretation
server-side, too.

--
Hywel

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация