jbadiag
Member
Hi, in my fabrik older version I had in a field javascript properties onchange this code:
So when I changed the dropdown it wrote the date in a field and put that field in readonly property again.
but in the new version of fabrik does not work. Does I need to change anything?
Code:
var d = new Date();
var curr_date = d.getDate();
var curr_month = d.getMonth() + 1;
var curr_year = d.getFullYear();
$('socios_aprovacion___f4').readOnly = false;
$('socios_aprovacion___f4').value= curr_date + '/' + curr_month + '/' + curr_year;
$('socios_aprovacion___f4').readOnly = true;
but in the new version of fabrik does not work. Does I need to change anything?