Hi
How can I prevent double clicks in OutSystems?
Hi @Hiroshi Mitsuhashi
If you want to prevent double click in buttons , then use this button loading widget
Button LoadingDocumentation (outsystems.com)
If your need is different then kindly elaborate your issue
Regards
Murali
sorry. It was a mistake in preventing double submission.
In Entity or what?
Can you elaborate your issue.
If you are mentioning of duplicate records, then you can use indexes to maintain unique value of specific attributes.
Or else button loading is used to avoid double submission using button during double click.
If your use case is different , please elaborate your issue.
Hi Hiroshi,
As Murali suggested, it is always good to use the loader on button while your logic is being executed as it will show the use that their request is being processed.
Also you can refer this post if you want to prevent duplicate record in database.
https://www.outsystems.com/forums/discussion/69401/how-to-ensure-unique-values/
hope it helps
Thanks