filter - Forum

Forum Navigation
You need to log in to create posts and topics.

filter

Hi @luishp have tried to use a filter inside a text field using [Nombre | number:0]

and i have a crash Uncaught SyntaxError: missing name after . operator

this is the result in main.js  :

$App. [Nombre | number:0]="1000";

Hi @phil78,

Note that filters are only for displaying Arrays items.
If you need to assign a value that's not the correct way to do it. Try this instead:

NeoScript:
SetVar Nombre[(0)] "1000"

JavaScript:
BeginJS
$App.Nombre[0]="1000";
EndJS

Regards.

Phil78 has reacted to this post.
Phil78