You are here: PHP validation instead of Javascript? « All PHP « IT news, forums, messages
PHP validation instead of Javascript?

Posted by Advo on 09/01/06 10:59

Basically our new dedicated server doesnt support Javascript, but i
need to still be able to validate forms.

Im coding the pages in php and was wondering the best way to go about
it.

for instance, ive got a form with a name/id of title.

I need to make sure this has some text in it, before the user is passed
to the form action="page.."

Any ideas please?

I think i could get this working no problem if i was sending the form
details to another page, but I want this like real time, so as soon as
they press the submit button, it checks the validation, if its correct
takes them to say processpage.php or if not, gives them an error
message informing them of the issue.

I want to try and do it onclick of the submit button like the onclick
in JS but not sure if this is even possible with php.

Open to advise please.

Thanks

 

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

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