77
Views
17
Comments
Date picker widget not storing date
Question
Application Type
Reactive

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.

2024-11-14 08-23-36
Melvin September

Assign a local variable to the input widget.

UserImage.jpg
Leo thomas

Thanks for the response but its not working.

can u suggest how to achieve this.


Regards.

UserImage.jpg
Leo thomas

i tried that..

but tsill not saving can u pls sahre oml if possible pls..


Regards

2024-11-14 08-23-36
Melvin September
2025-04-17 05-42-16
Ajit Kurane

In addition to Melvin you can try out below oml.

Leo_Date_Demo.oml
UserImage.jpg
Leo thomas

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.


Regards.

testdatepicker.oml
2024-11-14 08-23-36
Melvin September

Here is a working version of your OML

testdatepicker.oml
UserImage.jpg
Leo thomas

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.


Regards.

2025-04-17 05-42-16
Ajit Kurane

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.

Leo_Demo_updated.oml
2024-11-14 08-23-36
Melvin September

Change Datetimevar in the input widget to GetDate.list.current.Date.date


UserImage.jpg
Leo thomas

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.

Regards.


UserImage.jpg
Leo thomas

Hi Melvin,

thanks for the response but still im not able to get the date in input widget.

Date is vanishing and getting empty input field

Regards.

2025-04-17 05-42-16
Ajit Kurane
Leo_Demo_updated_1.oml
UserImage.jpg
Leo thomas

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.


Regards.

2024-11-14 08-23-36
Melvin September

You can set the prompt of the input widget to the saved date

UserImage.jpg
Leo thomas

No its not working Melvin,

its setting default value.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.