I need Help in implementing a solution.
I have 2 fields: Resolution Date (DateTime) and Severity (Dropdown) and I need depending on the choise in dropdown (0-3) set different dates into the DateTime field.
The difficult part is that I can't realize how is to SET the date there %)
Here is my code:
var ExpDateResolved = $("input[title=Expected Resolution Date]").first();
var chbReqSevDom = $(this).get(0);
if (chbReqSevDom.selectedIndex == 0) //first value in dropdown selected
var currentDate = new Date();
DateResolved.val(zeroPad(currentDate.getDate(),2) + '.' + zeroPad((currentDate.getMonth()+1),2) + '.' + currentDate.getFullYear());
P.S. I've tried to set a date into a Text field and it works.
View Complete Post