Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
The variable "field" is not defined.
var instance = $(field).data( "Expected_Completion_Date" );
The last block has uneven bracket / syntax problem.
$.Expected_Completion_Date.setDefaults( { onSelect: function( selectedDate ) { updateDueDate(this, selectedDate); } }
Something is not right with you code.
The last block to add days to a date, try https://stackoverflow.com/questions/2706125/javascript-function-to-add-x-months-to-a-date
Hi
i have a select box (pre-populated) called Priority, with values P1,P2,P3,P4
in the same form i have two date pickers first Date_Occured second Expected_Completion_Date
based on Priority , i want to add 15,30,45,60 days to the Date_Occured date in to the Expected_Completion_Date
my code is so far
but im not getting any update on the Expected_Completion_Date date picker.
any help is highly apricated
Thanks in advance