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

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

New Here ,
Nov 16, 2023 Nov 16, 2023

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;

179
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 16, 2023 Nov 16, 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">
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 16, 2023 Nov 16, 2023
LATEST

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

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