Actually, I recorded a video, but the internet is very bad where I am, I think it will take days for Loom to process it, if I can upload it, I will also post the video.
The logic works like this. I want 5 separate inputs to have values as well. In this case, I need to use two operators for my first input.
The first is the Boolean operator “is not empty”. Boolean is just an operator that returns a yes or no answer, the output is text, but Bubble does not allow adding a text operator. In order to access text operators, I converted this yes/no answer to text type with the :formatted as text operator. If it’s not empty, I want it to print yes, as it originally offered, and I can manipulate the rest with text operators.
I added find&replace operator after :formatted as text. I search for the word yes, if the incoming word is yes, I return the Boolean value of the other input I want to use in the restriction. Here I no longer need the formatted as text operator because I don’t need to access the text operators. As a result, yes or no will be accepted as a text.
Here’s how to use the Do a search for operator to make it clear that it will also return a Boolean result. If it is greater than one it will return yes.
Finally, I make sure that the text that comes in is “yes”. Thus, the condition is fulfilled.
Preview : https://kodsuz-kutuphane.bubbleapps.io/version-test/constraints?debug_mode=true
Editor: Kodsuz-kutuphane | Bubble Editor