<input id="t" name="field0001" validate="name:'startDate',type:'string',notNull:false" value="">
<script>
var s = '{' + document.getElementById('t').getAttribute('validate') + '}'
var o = eval('(' + s + ')');
alert(o.name+'\n'+o.type+'\n'+o.notNull)
</script>