JavaScript field: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
<div align="right"><small>''&laquo; as of 2016-08-25, editions Mobile 3.9.7, Desktop 1.0.3 &raquo;''</small></div>
<div align="right"><small>''&laquo; as of 2016-08-26, editions Mobile 3.9.7, Desktop 1.0.3 &raquo;''</small></div>
-----
-----
The value of the field will depend on the result of execution of the script preset in the settings of the field and executed in the entry context.
The value of the field will depend on the result of execution of the script preset in the settings of the field and executed in the entry context.


'''JavaScript 1.7''' is used for scripts. The current version supports only core methods of the language.
'''[https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/1.7 JavaScript 1.7]''' is used for scripts. The current version supports only core methods of the language.


A script may consist of multiple operations but only the result of the last operation will be entered into the field. Example:
A script may consist of multiple operations but only the result of the last operation will be entered into the field. Example: