Exercise on Advanced File Handling - Drupal Training Curriculum for Drupal Companies

You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

Back to Drupal exercises for the in-class training

Exercise on Advanced File Handling

Areas covered

  • Drupal File API
  • File validation

Create a form in Drupal that can upload files.
There should be a restriction of file types, only pdf and doc files should be supported.
If a user tries to upload a file with size more than 2 MB, there should be a validation message that 'size should be less than 2 MB'

Curriculum and Training

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week