Adaptive forms datepicker calender issue | Community
Skip to main content
New Participant
January 12, 2022

Adaptive forms datepicker calender issue

  • January 12, 2022
  • 1 reply
  • 836 views

Hi,

I am using guidedatepicker component in adaptive forms and there was one requirement that on load of the form default date in guidedatepicker field should be in US time zone like-- "if I am loading the form in India on 12-Jan-2022 and at that time date in US has changed to 13-Jan-2022 so it should reflect that date(13-Jan-2022), which I was able to achieved by writing custom jsp". 

 

But now issue is that date field value is showing date (13-Jan-2022) but the calendar icon in guidedatepicker once opened in form is showing the default date as 12-Jan-2022. I am not able to identify how to update calendar default date to 13-Jan-2022 based on US timezone. 

 

Can anyone please suggest any option through which this can be achieved?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Mayank_Gandhi
Employee
January 13, 2022

@uniqvaibhav Are you using JS to prefill the Date?

New Participant
January 13, 2022

yes @mayank_gandhi, if there is any other way possible to do so, then I can try that also.