Hello, I am having difficulty trying to find a conditional statement that will give me the following results. Any ideas?
When 108 is blank, the response should be yes.
When 108 is 0, the response should be yes.
When 108 is 1, the response should be no.
When 108 is 10 (or any other number. May contain hyphens such as 1-40), the response should be no.
[if 108 not_equal="0" equals=""]yes [else]no[/if 108]
1 is just an example. Sorry. It is actually a unique number. It could be 1, 5, 555, etc.
That's a little harder to answer, but I'm guessing you might instead need to use a more advanced type of conditional statement like https://formidableforms.com/knowledgebase/compare-two-values-for-display/
Do you have some standard logic that can help define what is yes and what is no based on the potential dynamic number sequence you listed?
Basically 108 is an ownerID. It starts off as blank. If someone claims it, their userID is filled in. If they no longer need it the field 108 goes to 0.
There only need to be 2 states. Available (empty or 0) or unavailable (with the userID).
userID as in a formidable user ID field value or the standard wordpress user ID (numerical)?
standard formidable: text
Is there shortcode that is capturing the userID value in this field when they submit?
It is in a conditional statement in a view
Is it exactly as in the opening post and/or can you share a screenshot?
Please login or Register to submit your answer