Wow, I love everything about this thread. 2 favorites.
First: Scheduling recursive workflows (I posted about it ). Watch out for their sharp edges, though.
Second: A guide to advanced use of reusables . I can’t thank you enough, @petter . It has changed my life. Makes everything soooo much easier to focus on.
4 Likes
petter
January 2, 2020, 6:32am
42
Glad to hear that @rico.trevisan
Advanced use of reusables was helpful. I also have one minor trick.
When you click on a group and change it’s height or width, hold down CTRL at the same time while changing the size, this will drag both ends of the group to resize.
Saves time when you group elements and want to add some padding.
3 Likes
Do when input is focused
is not an option in the workflows tab. So you can either:
copy-paste the condition from the Design tab (thread ) (hat tip to @boston85719 )
or
use a shape element as a hook: YouTube link - should go to the correct timestamp 13:04 (hat tip to @romanmg )
1 Like
So many hacks here that feels like the design should take them in consideration
petter
August 12, 2020, 9:41am
46
An empty value counts as less than zero! By that I mean that the following condition placed on an empty value will return yes:
(Value is empty)
Value ≤ 0 returns yes
This may have been obvious to everyone else, but I’ve been setting up a huge number of unnecessary is 0 or is empty conditions when all I need to do was replace is with ≤
5 Likes
Boost
January 10, 2022, 10:20pm
47
Too bad there isn’t an opposite for is not empty and is not 0
Wouldn’t this work Value > 0
?
Also, thanks for reviving this thread. I’d forgotten about the tips I shared.
Speaking of tips, someone shared one that Keith shared. When you have a boolean value that you need to change, Instead of having 2 separate workflows:
if yes set someElementState to no
if no set someElementState to yes
Have only 1 workflow
set state = someElementState is no
.
It will automatically switch between the 2 states.
When the original state is yes
the someElementState is no
evaluation will equal no
When it’s no
the someElementState is no
will equal yes
.
Kinda brilliant in its simplicity.
6 Likes
Boost
January 11, 2022, 11:04am
49
In my case it would be greater or less than 0 so that wouldn’t work unfortunately
J805
January 11, 2022, 2:14pm
50
Have you tried value < > 0
? Does that work for your situation?
1 Like
Boost
January 12, 2022, 10:34pm
51
It doesn’t display <>, it only shows “is not” which didn’t work
J805
January 13, 2022, 12:09am
52
Hey @Boost
That’s a tough one. A screenshot might help. Is your dataType field a number? Or text?
J805
January 20, 2022, 2:24pm
54
@Boost Yeah. I came across that issue in the conditionals tab too. Not sure why ‘is not’ doesn’t work. Might be a bug.
The <> functionality only shows up when you do a search and put it in the constraints.
In this case, maybe that would work? Just add ‘<> 0’ in your Search. Because the sum of all 0s would be 0.
A bit of a revelation I had to get around Bubble not allowing duplicate values in lists, make all lists as text and add the value
_List:count+1 :append “||” :append “value you want to store on list”
This creates a unique value in the list regardless of the value you actually want to store. Then use
_List #item :split by “||”#item 2
To get the actual value out of the list (for number values just add :converted to number at the end).