1
0
-1

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.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      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!

      1. icedkacang

        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 !

      2. Ashutosh Tripathi

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

      3. icedkacang

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

      CommentAdd your comment...