You are here: Re: simple form question « HTML « IT news, forums, messages
Re: simple form question

Posted by Hywel Jenkins on 10/15/23 11:38

In article <1138531625.920540.148930@g44g2000cwa.googlegroups.com>,
ukr_bend@yahoo.com says...
> I'm new to using forms and have tried to find an answer to the
> following questions through various on-line tutorials but so far no
> luck.
> Bascially, my questions is this. I want to present a form to the user
> of my site but I don't want to make any of the fields mandatory. And
> since they are not mandatory I want to be able to fill in default
> values for all fields that the user doesn't enter data. But I DO NOT
> want to present the default value to the user in any particular field,
> only to use that default value once the user hits the submit button.
> For example, let's say I have a "description" field. If the user
> doesn't enter a description I want the description field to pass a
> value of "to be entered later" once the user hits the submit button but
> I don't want to actually display "to be entered later" to the user.
> Thanks for any help.

Get your server-side form handler to deal with this for you.

--

Hywel
http://kibo.org.uk/

 

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

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