How to allow only xml/xlsx/xlam file extensions while attaching a file in catalog form
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 04:24 AM - edited 09-11-2024 04:33 AM
this.angular.element("#sc_cat_item").scope().attachments.length
with above script I am able to retrieve the count of attachments before submitting the form but how to get the file name and validate their extensions before submitting the form
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 08:02 AM
@shaik riyaz1 Refer below post
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!