had to change signature of validate function to get information for autorepeating through removed entity-encoding of square brackets, as they mess up validiation (havnt found any negative effects so far)
- Implement server side callback function when file is uploaded - Send needed file info back to client instead of storing in session