167
Views
7
Comments
Solved
[Time Picker Reactive] TimePicker Reactive
Question
time-picker-reactive
Reactive icon
Forge asset by Salman Ansari

Hi Salman



I used time picker reactive component from forge

want to save the date in table but its getting save as null or blank 

https://www.outsystems.com/forge/component-overview/8335/time-picker-reactive

i have tried  to change the datatype text or datetime i tried but in both of the case it not saving as selected value in table

Please suggest what is missing in that.

i have attached my oml please help me on this.

TimePickerReactive.oml
2020-08-31 05-04-40
Rahul Jain
Solution

Hi
You can change by input box and check id from inspect element. Please check attached image.


Thanks

Rahul Jain

date2.PNG
2021-09-10 14-03-53
Salman Ansari

Soni Rawat wrote:

Hi Salman



I used time picker reactive component from forge

want to save the date in table but its getting save as null or blank 

https://www.outsystems.com/forge/component-overview/8335/time-picker-reactive

i have tried  to change the datatype text or datetime i tried but in both of the case it not saving as selected value in table

Please suggest what is missing in that.

i have attached my oml please help me on this.

 As i replied you on personal message which you sent some day back, you can use the variable associated with that textbox to get the selected time.

 

2020-10-19 16-36-57
Soni Rawat

Salman Ansari wrote:

Soni Rawat wrote:

Hi Salman



I used time picker reactive component from forge

want to save the date in table but its getting save as null or blank 

https://www.outsystems.com/forge/component-overview/8335/time-picker-reactive

i have tried  to change the datatype text or datetime i tried but in both of the case it not saving as selected value in table

Please suggest what is missing in that.

i have attached my oml please help me on this.

 As i replied you on personal message which you sent some day back, you can use the variable associated with that textbox to get the selected time.

 

 

 Hi Salman,

I tried but my problem is in db date is getting null or blank in table 

could you please check my OML  what needs to change

2020-08-31 05-04-40
Rahul Jain

Hi Soni ,

Please find the attached oml , i have modified the code and look into it.

https://rahuljain877.outsystemscloud.com/TimePickerReactive/TimerPicker

Please let me know if you have any query.

Hope this will help you.


Thanks

Rahul Jain



TimePickerReactiveModify.oml
2020-10-19 16-36-57
Soni Rawat

Hi Rahul,

Thanks so much for the Help!

Now data is getting save in table but i have an one doubt 

cant we use datetype var to save the data? or you have used javascript how did u find  textbox id which you used b3-input_textvar where have your declar this var i am not able to find it

$parameters.TimeVar =document.getElementById('b3-Input_TextVar').value;

and  can i define my own name and how i can do this.


Regrds

Soni




2020-08-31 05-04-40
Rahul Jain

Soni Rawat wrote:

Hi Rahul,

Thanks so much for the Help!

Now data is getting save in table but i have an one doubt 

cant we use datetype var to save the data? or you have used javascript how did u find  textbox id which you used b3-input_textvar where have your declar this var i am not able to find it

$parameters.TimeVar =document.getElementById('b3-Input_TextVar').value;

and  can i define my own name and how i can do this.


Regrds

Soni




 

Yes you can define own name but that name should be in input id.

Let me know if you have any query.

Thanks

Rahul Jain

2020-10-19 16-36-57
Soni Rawat

Hi Rahul,

where i Can define the name?

2020-08-31 05-04-40
Rahul Jain
Solution

Hi
You can change by input box and check id from inspect element. Please check attached image.


Thanks

Rahul Jain

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