|
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]
|