You are here: Form question (PHP newbie) « PHP Programming Language « IT news, forums, messages
Form question (PHP newbie)

Posted by Robertico on 11/14/03 11:21

Hi,

I created a mailform using a page with the form fields (main mail form) and
a php page with some php-code.
<form method="post" action = "result.php">
I added some validation to my form for the required fields and email
address.
When a required field is empty the results.php shows a message and the user
has the possibility to go back to the mailform (link back).
It's also used when sending succeeds.
But when an user goes back, the form is empty (alread filled fields are
empty again).
Now i'am looking for ((a)nother) possibility to solve this.
For example stay within the main mail form and set the focus on the empty
field (and/or change text color to red)
I prefer not to use some javscript, because javascript could have been
disabled .

Robertico

 

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

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