added date constraint to inscription field