Reply to Re: Disable checkbox

Your name:

Reply:


Posted by sheldonlg on 02/17/06 21:04

In my case it is "disabled". The reason is that I want to show which
uploads have been done as indicated by the presence of the file on the
server. I dynamically put in "disabled" or leave it blank. If it is
disabled, I set it as checked. I do this by checking for the presence
of the files on the server and setting session variables if they are
there. In other words, the check box is not a "choice". Rather, it is
an indicator of completion.

When the user does the submit for the entire transaction, I first check
to see if all the required uploads are present (not all are required),
and then process the information. (All that is done is PHP). If they
are not all there, I present the user with information about the what
is missing.

When he uploads the missing file, the checkbox is set as checked and
disabled.

Shelly

[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

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