Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
Hello how can I limit the size of a graphic file that can bi upload in a entry mask.Thanks for any hintAndreas, Switzerland
Andreas,use Before record added/u[dated event for this.Here is the sample code:
if($_FILES["value_FieldName"]["size"]>1000000)
This code works when files are saved in database.If they are stored in a server directory use this code:
if($_FILES["file_FieldName"]["size"]>1000000)
Please note that field names are case-sensitive here.