The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Temporarily disable submit button - Confiforms

ryan
Contributor
February 24, 2025

Hi,

I have a confiform form with several field definition rules (lookup and set value) which take some time to finish execution. The problem I have is that people would often submit the form before these rules have finished execution. Is there a way to temporarily disable the submit button until all the rules have finished executing? Some other solution would also be welcome. Thanks!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Alex Medved _ConfiForms_
Community Champion
February 24, 2025

ConfiForms disables submit button while field definition rules are executed and enables it when they finish

ryan
Contributor
February 24, 2025

Then I am not sure what is causing the anomaly.

The form has three fields. There are two field definition rules. One tracks the 1st field and another the 2nd. Input in the first field is used by the rule to set the value for field 2. Input in field 2 is used to set the input for field 3. 

The submit/save button becomes unclickable and then clickable twice on input in field 1. I am guessing the disabling is not continuous and users are able to submit before all the rules are executed. Can this happen? 

Alex Medved _ConfiForms_
Community Champion
February 24, 2025

with inpatient users this might be the case

If you have cascading rules then yes (result of a rule triggering other rules), the button becomes enabled until the other rule triggers

add a validation rule to ensure fields have values. So, even if the form gets submitted meanwhile - you get it protected by a validation rule

ryan
Contributor
March 11, 2025

The problem with using a validation rule is that the fields are allowed to be empty. So there is no way of knowing whether the rules have actually been executed. At least if there was an option for the lookup rule to set a value if an empty record is returned, this could be solved.

TAGS
AUG Leaders

Atlassian Community Events