Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

transform adobe javascript to aem formcalc

Explorer ,
Mar 01, 2023 Mar 01, 2023

hello

I have this script 

// Get field values as numbers

    var v1 = +getField("Text2 ").value;

    var v2 = +getField("Text10").value;

    var v3 = +getField("Text12").value;    

      var v4 = +getField("Text11").value;   

// calculate this field value

    event.value = v1+v2+v3 - v4;

how can transform it to aem FormCalc;

klothoskir_0-1677737439818.pngexpand image

 

TOPICS
JavaScript , PDF forms
542
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 02, 2023 Mar 02, 2023
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines