Skip to main content
Participant
November 17, 2023
Question

Not a coder, but trying to create a pdf form with calculations. Any help appreciated!

  • November 17, 2023
  • 2 replies
  • 218 views

i am trying to create a pdf form with two check boxes, if checkbox "ach" is selected it should not allow "cc" and vis versa.

Current ACH check box script 

if (event.target.isBoxChecked(0))
this.getField("ACH Fee").value = 36;
else
this.getField("ACH Fee").value = 0;

 

 Current CC Pymnt checkbox script

if (event.target.isBoxChecked(0))
this.getField("CC Fee").value = .04;
else
this.getField("CC Fee").value = 0;

    This topic has been closed for replies.

    2 replies

    Nesa Nurani
    Community Expert
    Community Expert
    November 17, 2023

    There is no need for script, give both checkboxes same name but different export value which will make them mutually exclusive.

    kglad
    Community Expert
    Community Expert
    November 17, 2023

    in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

    p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



    <"moved from using the community">