Expand my Community achievements bar.

SOLVED

How to create a file upload field with validation along with error message on AEM cloud for audio files only

Avatar

Level 4

In a dialog i need to upload file only audio(.mp3 , .wav) along with error message if author selected other files like (.jpg,png , mp4 etc) 

for example on below image blue colour circle need an error message with validation for audio files only.

keshava219_0-1652630184441.png

 give me any reference to get.

 

1 Accepted Solution

Avatar

Correct answer by
Level 4
2 Replies

Avatar

Correct answer by
Level 4

Avatar

Level 4

Hi @raushan123 ,

 

              Thanks for your reply ,got the validation message on audio but can you tell me how to get title of the file on dialog

 

keshava219_0-1652767666759.png