InfoPath - Attachment File Type Validation RRS feed

  • Question

  • Hi,

    Is it possible to create validation to only jpg files on Atachment Control in InfoPath?

    I know that I can use InfoPath Filler option and some code.

    I need to solution without code or InoPath Filler

    Tnak in advance!

    Monday, March 24, 2014 12:22 PM


  • Hi,

    As you had known, if you are designing a browser-compatible form template, you won't be able to specify which file types are allowed in the file attachment control.

    In other words, if you create an InfoPath form using "Blank Form (InfoPath Fillter) template", you will have that checkbox.

    If you’re using InfoPath browser forms, then this option is not available and you’ll have to programmatically restrict file types for InfoPath attachments.

    Thanks & Regards,


    Jason Guo
    TechNet Community Support

    • Proposed as answer by SekThang Tuesday, March 25, 2014 11:46 AM
    • Marked as answer by Lindali Friday, April 4, 2014 12:08 PM
    Tuesday, March 25, 2014 7:58 AM

All replies