Skip to main content
Known Participant
May 24, 2018
Question

How to make one field populate a number based on another field saying yes or no?

  • May 24, 2018
  • 1 reply
  • 446 views

I am currently in a pickle. I have a field that someone writes either "yes" or "no". I want to be able to have another field populate with a number based on the yes or no field. For example:

"Field1" is the field where someone types "yes" or "no". if someone puts "yes", I would like to have "Field2" populate with a number 1. If they say no, I want "Field2" to populate with a 0.

This topic has been closed for replies.

1 reply

Inspiring
May 24, 2018

Forms require some planning. What if the person enters :Yes", "No", "YES", or "NO"?

How are you going to handle misspellings?

What if there has been no entry?

I would use a drop down list and that would only allow for a given set of values to chose from. Also you can set the value of the drop down field by the optional value for the item selected.