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

Editable Form calculations

New Here ,
Nov 20, 2024 Nov 20, 2024

Hi, I have a form where I need would like to have the calculations below for 3 fields but would like them automatically set to percentage up to the 2nd decimal. Not sure how to create that in an editable pdf 

 

  1. LTV = [(Total Loan Amount – Construction Holdback)/As Is Value]
  2. LTC = (Total Loan Amount/As Is Value)
  3. LTARV = (Total Loan Amount/After Repair Value)
TOPICS
PDF , PDF forms
183
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 ,
Nov 20, 2024 Nov 20, 2024
LATEST

PDFAutomationStation_0-1732153617111.png

Custom calculation scripts:

//LTV

var AsIs=this.getField("As Is Value").value;
if(!AsIs){event.value=""}
else
{
event.value=(this.getField("Total Loan Amount").value -
this.getField("Construction Holdback").value)/AsIs;
}

//LTC
var AsIs=this.getField("As Is Value").value;
if(!AsIs){event.value=""}
else
{
event.value=this.getField("Total Loan Amount").value/AsIs;
}

//LTARV
var arv=this.getField("After Repair Value").value;
if(!arv){event.value=""}
else
{
event.value=this.getField("Total Loan Amount").value/arv;
}

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