IF Else Conditional Calculation in PDF Fillable Form

Ғылым және технология

Here's a handy tip to combine an "IF" statement with "Else" conditional formatting using ADOBE ACROBAT PRO DC 2023.
This example uses an invoice where we have to calculate the total with a discount if it is applicable. Otherwise, the total value will be shown as it is.
Please don't skip and watch the entire video for better results.
Don't forget to like and Subscribe to our channel: / @sarservices
------------------------------------------------------------------------------------------------------------------------
JAVASCRIPT:
var A = this.getField("Text1").value;
var B = this.getField("Text2").value;
var D = ((A*1000*B/100));
if(B==0) event.value=((A*1000));
else event.value=D

Пікірлер: 8

  • @alexajackson5171
    @alexajackson5171 Жыл бұрын

    You are amazing thank you so much for your help.

  • @sarservices

    @sarservices

    Жыл бұрын

    Glad it helped! and Don't forget to like and subscribe to our channel.

  • @takhore
    @takhore6 ай бұрын

    🙏🙏🙏

  • @Crazystunts4190
    @Crazystunts41907 ай бұрын

    Can this form be added/embedded into a website? Or do u have to initially click the one that says “create a web form”?

  • @khetikisanee1
    @khetikisanee14 ай бұрын

    hello sir , I want to create a form and I need some steps in that form means first filling the form all fields and sign then the form goes to the student mail and students add their signatures then form goes to the staff email and he approves after approve form goes to student , staff and owner one copy. could you please help me?

  • @sarservices

    @sarservices

    4 ай бұрын

    Once the PDF is signed then it can't be edit, So i think you should go with the DocuSign.

  • @columbiabasinagriculturalr3396
    @columbiabasinagriculturalr33965 ай бұрын

    On a PDF form, I've got a dropdown list I want the user to select from; then depending on what they select, I'm wanting a second box to populate text. How do I do this? I know it's associated with what your showing here, but I cannot figure out the correct script to make it happen.

  • @sarservices

    @sarservices

    5 ай бұрын

    Hello there, I think this video might be helpful for you: kzread.info/dash/bejne/oKiTlcZme6q6pMo.html

Келесі