No, it's not possible. But I can tell you how you can implement it...You need some javascript script code, that will check a file extension in "browse" filed and give you alert if something wrong or clean the field.

It's an old topic but since I just coded that function for a website I develop (and since I've been really happy to get hints from numerous contributors in this forum ), I may as well give my own personal example here :

## *** bind the DataGrid and draw it on the screen $dgrid->Bind(); ob_end_flush();?> <script type="text/javascript">//function used to check the file name of the file put in the uploaded field (and entitled "styfile_name")function recup_extension(){ var numbcar;var extension;var namfile = document.getElementById("styfile_name").value;numbcar = namfile.length;extension = namfile.substring(numbcar-4,numbcar);extension=extension.toLowerCase();return extension;}

function verif_extension(){var ext = recup_extension();//in this example, we only want .pdf filesif(ext != ".pdf" ){// Here you put your warning message alert("The file name you are trying to upload is :"+ext+". \n This file name is not allowed !\n .pdf file type only !>");// Here you refresh the page (=clear the field) if selected file does not match what you want ://use the address you get in your URL for add or edit mode window.location.replace("http://www.YOURWEBSITE.YOURDOMAIN/index.php?act=&id=&namdoc=&ldoc=&verdoc=&docmode=add&docrid=-1&docsort_field=ta_document.nom_doc&docsort_type=ASC&docpage_size=10&docp=1"); }}</script>