Multiple upload document field


Hi Team,

I have a multi upload document field. The requirement is i should not allow any document to upload other than "PDF" and should show a validation message for the document upload field. Is this possible?
if yes can anyone suggest me the solution.

Thanks

OriginalPostID-227140

OriginalPostID-227140

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    I've used on-form file validation (using the method we discussed in the thread Nick has linked, above) to great effect. I highly suggest breaking out the functionality into helper rules, particularly one which takes responsibility for retrieving the uploaded file properties (i.e. filename) from the temporary variable - just in case the behind-the-scenes code for this changes in the future.
Reply
  • 0
    Certified Lead Developer
    I've used on-form file validation (using the method we discussed in the thread Nick has linked, above) to great effect. I highly suggest breaking out the functionality into helper rules, particularly one which takes responsibility for retrieving the uploaded file properties (i.e. filename) from the temporary variable - just in case the behind-the-scenes code for this changes in the future.
Children
No Data