I’m struggling to find a solution for a complicated topic, hope some of you might know the answer!
I have a lot of fields on my pages (let say 50), but I’m only showing some of them based on the input the user gives and the conditional logic that is attached to it. When I hit save, I would like to check if the fields that are VISIBLE and marked as “this input should not be empty” are filled in.
Has anyone figured out how to properly do this?
As I have many fields, writing out every possible combination with conditionals is not an option…
Hey @deborah2 I think I know what you mean. I wouldn’t want to do all of those conditions either. This would be the simplest way to do it. Would something like this be enough?
If you check the option “This input should not be empty”, the field will become required, and the button that triggers the workflow will be disabled if that input is included in a Create or Make changes to a thing action. However, if the input is invisible, the validation will be ignored. So, if you already have a condition that hides the input, you don’t need to worry — Bubble will handle it for you.
If this isn’t exactly what you were asking, please provide a bit more detail so I can better assist you.
Hi @ruiz86 and @J805 , thank you both for helping out!
I actually did not know Bubble could do this. I’m working with autobinding so I didn’t use that particular step to update a thing. It’s also working with my own buttons created as reusable elements, perfect!