234
Views
2
Comments
How to pass JS value to local variable
Question
Application Type
Reactive

I have script to convert number to word.
But i don't know how to pass the value to the local variable.

2019-04-23 11-32-25
Muhammed Riyas

Hello Oyie,

You can do that by creating a local variable associated with an input field,

and then with JavaScript change the value of that input. 


please check the link below for your reference:

https://www.outsystems.com/forums/discussion/40098/how-to-assign-javascript-value-to-out-system-local-variable/


Regards,

Riyaz

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Oyie,

If you have a Reactive application, you can use the JavaScript node to execute JavaScript:

You can specify input and output parameters, so assigning an output parameter in the JavaScript code will make it available in the rest of the code.

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