Modifier - Once

Can you explain what the modifier once does? Which brings me to my next question, what is the best way to avoid the double click on submit buttons. Seeing double entries at times

Here’s a quick explanation of the modifiers: What is the meaning of Input (Dynamic Events under Data) Modifiers for Text Input

But that’s probably not what you’ll want to use here. On the button you can use a dynamic event > Click and Disable the button. Then on the success of your server connect, or form submission, you can re-enable the button.

Thank you, I had done that before and was just curious if any other options. Thanks again.

I had a particular form that submitted so fast that disabling the button during execution didn't work. What I did was put the insert action in a flow and used the 'wait' feature. I set it to three seconds. So now the button is clicked and disabled and waits for three seconds until it is enabled again. Works wonderfully.

1 Like

I like this option…My forms submit really fast as well and sure I will have the same problem. Thanks

Glad the flow > wait option is working for you guys!

I try to avoid these timing events because you then ending up waiting unnecessarily too long, or not enough. This is why I suggested disabling on the click (not using executing state) and then re-enabling after the event is complete. You get the functionality you want, without putting in wait periods that can ultimately be too long, or too short for the user.