2

I want to setup date picker in frontend form,

and I did this currently, datepicker is shown in a frontend form

only one issue is that when I click on today in datepicker it take the wrong date

screenshot: -

http://prntscr.com/mzsyg5

<script type="text/javascript">
                      //<![CDATA[
                          Calendar.setup({
                              inputField: "RebillStartDate",
                              ifFormat: "%d/%m/%Y",
                              showsTime: true,
                              button: "rebillstartdate",
                              align: "Bl",
                              singleClick : true
                            });
                     //]]>
</script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.