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

beating my head against the wall on this.

New Here ,
May 31, 2019 May 31, 2019

Want to put a value in a field if one box has anything written in it and another value if another box has anything written in it.  if text118 has something i want to return a value to itemcost of 69.98 if text119 has something i want to return a value of 64.98. any help?

TOPICS
Acrobat SDK and JavaScript
383
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 ,
May 31, 2019 May 31, 2019

What if they both have a value? Or neither?

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
New Here ,
May 31, 2019 May 31, 2019

try67. they are selecting an option for a shoe. They can only order one. If they put the shoe size in one option it will put the amount so it can be calculated. and the same for the other shoe, but they can only get one style.

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 ,
May 31, 2019 May 31, 2019

But technically they can fill in both fields, no? So you have to take that into account in your code, or change it so that it won't be possible (for example, by using radio-buttons instead of text fields).

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
New Here ,
Jun 03, 2019 Jun 03, 2019
LATEST

yes that is true. i will take that into account

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