JavaScript field: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 112: | Line 112: | ||
You can find a full description of the language [https://developer.mozilla.org/docs/Web/JavaScript here]. | You can find a full description of the language [https://developer.mozilla.org/docs/Web/JavaScript here]. | ||
The implementation is based on [https://www.mozilla.org/rhino/ Rhino library]. | The implementation is based on [https://www.mozilla.org/rhino/ Rhino library]. | ||
{{FieldNameHint}} | |||
== Script == | |||
; Script itself | |||
: JavaScript script. Value returned is the last value assigned or the value in a Return statement. | |||
; JavaScript Libraries | |||
: Choose additional JavaScript Libraries to be loaded. At this time, only moment.min.js is available. | |||
; Execute script in real time | |||
:; No (default) | |||
:: Script will run only upon edit. Performance will be enhanced. | |||
:; Yes | |||
:: Script will run upon edit or display. | |||
== Display Options == | |||
{{FieldRoleRNDS}} | |||
{{FieldOnCard}} | |||
{{FieldFont}} | |||
{{FieldDepend}} | |||
[[Category:Spec]] | [[Category:Spec]] |