[web2py] Re: web2py - date picker issue

2020-05-06 Thread Scott Hunter
Please identify what part of this rather long file is relevant to your question. You might also want to look at the documentation for SQLFORM with regard ti how to use keepvalues. On Wednesday, May 6, 2020 at 9:44:37 AM UTC-4, Anuj Mahawar wrote: > > Yes, its part of the SQLFORM. I have

[web2py] Re: web2py - date picker issue

2020-05-06 Thread Anuj Mahawar
Yes, its part of the SQLFORM. I have attached my file from the controller. Could you please let me know where do I need to make the changes (i.e. keepvalues = True) Regards, Anuj On Tuesday, May 5, 2020 at 6:38:29 PM UTC+5:30, Scott Hunter wrote: > > If this is part of a form (which I have to

[web2py] Re: web2py - date picker issue

2020-05-05 Thread Scott Hunter
If this is part of a form (which I have to guess at, since you have provided *no* details), you can use the `keepvalues` option to not reset the fields of a form. On Tuesday, May 5, 2020 at 8:24:32 AM UTC-4, Anuj Mahawar wrote: > > Hey Scott, > Yeah, I meant that the date is resetting to the

[web2py] Re: web2py - date picker issue

2020-05-05 Thread Anuj Mahawar
Hey Scott, Yeah, I meant that the date is resetting to the current date even though I am selecting any previous date. Do you have any suggestions to change this default behavior? On Tuesday, May 5, 2020 at 5:22:30 PM UTC+5:30, Scott Hunter wrote: > > What do you mean by "redirected"? If you

[web2py] Re: web2py - date picker issue

2020-05-05 Thread Scott Hunter
What do you mean by "redirected"? If you just mean that the date field is reset to the current date, that is the same default behavior for all input fields. On Tuesday, May 5, 2020 at 12:44:31 AM UTC-4, Anuj Mahawar wrote: > > I am a beginner to the web2py. I am building an application with a