Skip to main content
Participant
May 31, 2019
Question

beating my head against the wall on this.

  • May 31, 2019
  • 1 reply
  • 419 views

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?

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
May 31, 2019

What if they both have a value? Or neither?

lennyfmgAuthor
Participant
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.

try67
Community Expert
Community Expert
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).