How can I add a progress bar to my Managed File form field? Here's my field code:
$form['file'] = array( '#type' => 'managed_file', '#title' => t('Logo image'), '#description' => t('Replace/upload a new logo for this sponsor.'), '#upload_location' => 'public://', '#upload_validators' => array( 'file_validate_extensions' => array('gif png jpg jpeg'), ), );
I have searched for a while now, and the closest info I could find was this post but I can't quite figure out how I can add the AJAX to make this happen. Any pointers would be appreciated!