Combination View Flat View Tree View
Threads [ Previous | Next ]
Tauseef Ahmed
AUI Form Validation For file uploads with extension
May 4, 2014 9:26 PM

Tauseef Ahmed

Rank: New Member

Posts: 8

Join Date: October 26, 2009

Recent Posts

<aui:input type="file" name="field2" >
For use with input type="file"
Only allow file uploads with this extension.
Specify multiple values either comma delimted 'jpg, png',
whitespace delimited 'jpg png', or pipe 'jpg|png' delimited.
<aui:validator name="acceptFiles">
'jpg, png'


Participate in the State of Liferay Community 2017. Help the community and even win some prizes!