fix a bug with date parsing

set maxlength and size to some all input elements from add measures
section

Change-Id: I02885373f4a1396bceab3c63e428a9aa09212733