Hello Everyone,
Im using Date picker widget, im trying to store date but its not storing the date ,
can someone pls help me here.
can someone share oml pls.. it would be really helpfull,
Regards.
Assign a local variable to the input widget.
Thanks for the response but its not working.
can u suggest how to achieve this.
This link can guide you on how to achieve this.https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Mobile_and_Reactive_Patterns/Interaction/Date_Picker
i tried that..
but tsill not saving can u pls sahre oml if possible pls..
Regards
Here is my OML
In addition to Melvin you can try out below oml.
Hi ,
Can u please check this oml.
im trying to store the date in database. the scenario is same as in this oml.
somewhere im not passing value.
Here is a working version of your OML
Hi Melvin,
Thanks for the response, but im really sorry i made small mistake in explaining my doubt cleary.
when i go back to previous screen in date picker input field i should see Saved date.
you just need to pass destination screen on save button click "Date result"
and on the date result screen display list of dates in table.
I had also updated oml but in different way. You can check it .
Hope it helps you.
Thanks,
Ajit Kurane.
Change Datetimevar in the input widget to GetDate.list.current.Date.date
Hi Ajit,
Thanks for the respone
im able to save date. but my customer wants to see date on input widget only.
thats where im getting confused.
thanks for the response but still im not able to get the date in input widget.
Date is vanishing and getting empty input field
Have updated oml please check.
Hi Ajith Kurane,
Still im not able to see date in input widget
Step 1:
saving this date.
Step 2:
Clicking on previous
Step 3:
showing empty input widget..
my cstomer wants to see date there instead of empty.
You can set the prompt of the input widget to the saved date
No its not working Melvin,
its setting default value.