You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Some users are clicking on the Submit button on ConfiForms forms before they finish the form. This results in several incomplete entries being written to the ConfiForms data table. Is there a way to hide the Submit button until the user has completed the form?
Thanks.
Environment
This is the solution we came up with.
1. Placed the following JavaScript within an HTML macro on the page where the form is defined.
<script>
function
showSaveButton(){
AJS.$(
'button.save-cf-btn'
).show();
}
function
hideSaveButton(){
AJS.$(
'button.save-cf-btn'
).hide();
}
</script>
2. Added a Checkbox field (called cfConfirm) to the form with a description that asks the user to check the box to confirm that they have finished filling in the form. (Alternately, we could set the value of the checkbox field to true using a field definition rule when the last user-provided field is valued, but we decided we wanted to ask the user if they were done filling in the form.)
3. Defined 2 field definition rules within the form that test the checkbox field and call the appropriate javascript function:
Hope this helps others out there with the same need.
Hi
Why not to implement validation rules to ensure that the user fill in everything what is necessary?
Validation rules can be made conditional...
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can make the necessary field required if there is no condition. If you have conditions like "we need this field if that field" use the validation rules @Alex Medved _ConfiForms_ mentioned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.