2 Replies Latest reply on Feb 22, 2010 5:30 AM by lazlo

    conditional based on file type

    lazlo Level 1

      Hi,

       

      I am creating a system to upload a brochure to a product record within a mysql db. I'm using addt file upload and the file is held within a text field in the product table. files allowed are .pdf, .doc, .docx.

       

      is it possible to create a conditional region based on the file suffix/file type, in order to show an appropriate footer, for example:

       

      if the file is a pdf then show get reader button, else hide it.

       

      many thanks