so i have this issue that when i try make some condition when:
“this button is pressed” it should make a condition.. but when i use the is pressed state it only do the conditions if i hold the click.. as soon as i release the click the condiditions stops..
is there anyway i can make a static click instead..
in my case its when filling a form and they try to submit the form when required input or checkbox arent filled i want it to be able to make a red text below the missing input saying “fill this out before submitting” it just dont work with the is pressed state
First thing, in the inputs ( checkbox and dropdowns ) , check the option -
This input should not be empty
Next for persistent condition use custom states,
Set a state for the button,
Say clicked -yes/no.
When the button is clicked set the state yes and use the state value in the condition.
Ex - when the button clicked is yes
Do this.
This will not work like this then, using conditions with pressed.
You will need to have two alternating actions on button click -
On first one out condition -
When checkbox 1 value is not checked AND checkbox 2 value is not checked -
Set a state , this state will change the border color on the checkbox.
on second workflow - put condition
When checkbox 1 is checked or checkbox 2 is checked -
Continue the workflow you want.