Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to hide the submit button on a ConfiForms form?

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?



  • ConfiForms 2.13.9
  • Confluence Server 6.15.9

3 answers

1 accepted

0 votes
Answer accepted

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.

function showSaveButton(){
function hideSaveButton(){

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: 

  • Rule 1:  
    • Field Name = cfConfirm
    • Condition = cfConfirm:true
    • Action = Run custom JavaScript
    • JavaScript to run = showSaveButton();
  • Rule 2:  
    • Field Name = cfConfirm
    • Condition = cfConfirm:false
    • Action = Run custom JavaScript
    • JavaScript to run = hideSaveButton();

Hope this helps others out there with the same need.


Why not to implement validation rules to ensure that the user fill in everything what is necessary?

Validation rules can be made conditional...


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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

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...

59 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you