84
Views
2
Comments
Solved
[Timedropper Plugin] How to use the selected time?
Question
timedropper-plugin
Mobile icon
Forge asset by Jogait

Hi,

I must be missing something: In my app I am using the TimeDropper Plugin as shown in the sample app, but the value of the associated variable does not change. See screenshot - I added an expression showing the value of the variable but it stays blank. 

However I see the correctly selected value in the associated input field.

Shouldn't there be an event fired by the TimeDropper Plugin when it is closed again containing the selected value?

Thanks for your help!

Kind regards,

Adrian


Screen Shot 2017-09-01 at 13.15.20.png
2020-03-05 14-29-02
José Costa
Solution

Hi Adrian,

The value is not assigned to the variable of the Input Widget.

To get the value you can use:

$('#<name of input widget'').val();

The value returned is of type Text of the format that you have chosen in the widget.

Thus, you can add a Javascript Statement like the one below to the Client Action where you want to read the value from the Input Widget (In the InputId parameter you put the widget Id)

Cheers,

José

2019-03-13 07-21-40
Adrian

Excellent, thanks a lot for your help!

Greetings,

Adrian

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