I’m a developer new to bubble and I need to create a “function” that I will be able to reuse several times. I think I have to create a custom event for that. Until here I think I’m good
Now inside this custom event I will define a value for a custom state, and this value depends on several factors.
For now I was using the “only when” function, but it will be very hard to define. I have some “complex” rules to setup and i don’t know how to do. For example :
My variable will have vaue1 if :
(var1 = “yes” OR var1 = “maybe”)
(var2 = “yes” OU "var2 = “not yet”)
Honestly I don’t know how to setup this rule using the “Only when” function…
Could you please help me ?