I'm trying to streamline some of the tasks I do several times a day on Trello, such as adding labels, dates and comments. For some reason, when it comes to updating input fields my values update visually but when submitted they submit the default options.
I can't really fiddle what I've done, but as an example, this is what I've done to set the date. This sets the value as per expectations, visually at least, but when I click the save button it saves it as the default day (tomorrow).
var d = new Date();
month = d.getMonth() + 1,
day = d.getDate(),
year = d.getFullYear();
$('.js-dpicker-date-input').val(month +'/' + day + '/' + year);
Press Save Button
Saves Default (Tomorrow at 12PM)
I think this is because I've not actually typed anything into the input fields, but I don't know the solution.
Any help would be great!
Thanks

