Reply to Re: Submit disabled form elements...

Your name:

Reply:


Posted by Jukka K. Korpela on 11/14/07 23:59

Scripsit SirG:

> Is there a way to submit a disabled text box?

By definition, disabled means it won't be included in the form data, i.e.
won't be submitted. So why do make it disabled and then ask how to get it
submitted?

(There are ways to have it included it in form data via JavaScript, but they
more or less mean that it is taken away from the disabled state.)

> I'm wanting to use a disabled text box to submit use picked date
> information that is selected using a date picker script, but I do not
> want the users to have the ability to modify the date outside of the
> script.

I wonder what you are really doing. You cannot prevent users from modifying
the data, or submitting whatever data they want; you can just try to cope
with it and to discard malformed data.

As usual, a URL would...

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[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

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