Karen
|
| Posted: 06/09/2003, 7:33 PM |
|
I am doing a file manager sort of apps where the users can upload their files and the records are stored in a table (file id, filename, userid). With this table, we don't need to delete the file and leave the record, i.e., if the file is to be removed, the whole record should be deleted.
So, I have created an editable grid for the files table and added a file upload component for the filename. But I don't need the delete checkbox in the file upload component. Can anyone tell me how to remove this? It could be something simple but I'm not sure where to start. Any clues would be much appreciated. TIA!
|
|
|
 |
rrodgers
|
| Posted: 06/09/2003, 7:41 PM |
|
Make the entry field required.
rob
|
|
|
 |
Karen
|
| Posted: 06/09/2003, 7:50 PM |
|
Thanks for your suggestion. I think that works and I also tried just deleting the checkbox from control. And it looks like it works. I wonder if that will break something else??
|
|
|
 |
glerma
|
| Posted: 06/10/2003, 12:30 PM |
|
2 Options.
1st Option - When building the editable grid, do NOT select Delete as an option.
2nd Option - Hide the control.
Page "Before Show Event"
PHP:
$formname->checkboxname->Visible == false;
ASP:
Formname.checkboxnam.Visible = False
Easy!
|
|
|
 |
|