Reply to Redisplaying information from a HTML form

Your name:

Reply:


Posted by Ravi Gogna on 08/11/05 02:20

Hi there

I'm absolutely new at this so forgive me if none of it makes any sense!
I'm trying to write a page which lets you apply for tickets. I've
written it in PHP and used simple variable names for all the input
fields. Upon clicking submit, I want the form to be checked for
incorrect formats and blank fields.

I've managed to write the checking program in such a way that clicking
submit launches an 'error' page which displays at the top of the page
which field is wrong, and then redisplays the form. (The form redisplay
is done using a function which uses the variables I used in the HTML
form page). My problem is this: when the 'error' page comes up all of
the text boxes will quite happily redisplay the data that was put into
them, but I have a couple of drop-down boxes and radio buttons which
lose their value. Is there a way I can make these boxes and buttons
retain their value?

Thanks

Ravi Gogna

[Back to original 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

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