Javascript for Warranty from Datepicker

Confluence User - 01 Dec, 2015

Hi,

I have two datepicker in one form, which is "estimatedeparture" and "estimatearrival". Under those two datepicker, i put custom html layout label as "warrantydate". I want to get the data from "estimatearrival" datepicker, after user pick some date. The date that user choose at "estimatearrival" will be calculate with certain numbers to show the available "warrantydate", and the date will be stored directly into the mysql. I've tried to implement it with some javascript code but still "warrantydate" not displaying the accurate answer. Can someone help me about the javascript please.

Thank you in advance.

datepicker;javascript

4


01 Dec, 2015
confluenceUser
confluenceUser

Hello there,

I hope this would be useful: http://dev.joget.org/community/display/KBv4/questions/22085936/answers/22085944

Please let me know if this helps.

 

Thanks!

01 Dec, 2015
confluenceUser
confluenceUser

Hi, I've tried that code, but still not works. It seems that the code cannot automatically retrieve the data from "estimatearrival" datepicker :( Please help. Thank you !

01 Dec, 2015
confluenceUser
confluenceUser

Please post the JS you are using. It'd be more useful.. Thanks

02 Dec, 2015
confluenceUser
confluenceUser

Currently, i'm using the JS posted from the link that you gave above. Thanks

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print