I don't know much js, but where is the submit/save button/function?
sexta-feira, 26 de Abril de 2019 às 11:19:19 UTC+1, Andrea Fae' escreveu:
>
> Thank you for your answer, but I do not understand the code you wrote...
> the 2 fields are only filtering fields, no a db field.
>
> The filtering fie
Il giorno giovedì 25 aprile 2019 21:40:25 UTC+2, Andrea Fae' ha scritto:
>
> How to preserve datepicker selected date after postback using web2py in a
> javascript view... I think it's a javascript problem but I don't know how
> to fix it.
> thank you
>
--
Resources:
- http://web2py.com
- htt
Thank you for your answer, but I do not understand the code you wrote...
the 2 fields are only filtering fields, no a db field.
The filtering fields are working well, but I want that the dates selected
will be preserved after postback. Do I have to read them from the
querystring? In which way?
t
Is the selected date in a db field? Then when editing the same field, the
date picker should show the selected date.
If the date is still not saved to a db field but only in js, then you can
send it using something similar to this