CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 File Upload - Remove delete checkbox (CCS2)

Print topic Send  topic

Author Message
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!

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.