Validation added to mapprop demo