How:Write scripts in JavaScript for Memento: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 19: Line 19:


==== Sample complex expression script ====
==== Sample complex expression script ====
:'''Validate entered value:'''
Before release 4.10.0 on the mobile edition & 1.10.0 on the desktop edition, we had to validate entered data with a script like this one:
<pre>
<pre>
    // Validate entered value:
     var StdLimit = 100      // Our std for all products
     var StdLimit = 100      // Our std for all products


Navigation menu