Create Button Spins when required field is missed
Asked by Brian Ventura:

When a user tries to create an incident and have missed a required field on the form but hit the 'Create' button it just spins. It wants the user to fix the required field, but the 'Create' button is spinning continuously and the form still cannot be submitted. The user must cancel and re-enter all data. This just started about two weeks ago and wasn't a problem until now. I looked at similar issues, but none match our issue.


Answers:
author: Adolfo Casari
body: [@Brian Ventura](/t5/user/viewprofilepage/user-id/5441817)That is not the expected behaviour, it should display a message about the missing required field and allow you to resubmit.

You should check with the browser console what is the error thrown and check the jira logs too.

comments: author: Brian Ventura
body: We do get a message and it highlights the missed field, but the green create button begins to spin and even if you correct the missing field it will no longer submit. The create button spins and also at the top of the screen. At this point the form won't submit and the user must re-enter all information. This is a fairly long form so it does get annoying. This only occurs when a mandatory field is missed, otherwise form submits instantly. Any help would be appreciated.

![Jira.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/342356iA99A21640193B540/image-size/large?v=v2&px=999 "Jira.PNG")


author: Brian Ventura
body: I am not finding anything in Chrome and it looks like are logs are disabled? Is that normal?

It seems to happen only when a required field is skipped. The same thing happens with a Proforma Form.

![JR.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/343250i24F79D6CF4F04462/image-size/large?v=v2&px=999 "JR.PNG")


author: Anandhi Arumugam
body: Hi [@Brian Ventura](/t5/user/viewprofilepage/user-id/5441817) How do you make the fields mandatory? Field Configuration/Validators etc

If there is a code or script, please check if it is successful or if there are any execution errors.

comments: author: Brian Ventura
body: Where is the code or script? Where can I find this in the Jira Admin? I looked a custom fields and field configurations. Do I look somewhere else? I am new to Jira Admin and learning as I go. Thank you.


author: Anandhi Arumugam
body: If this issue happens within Project A,

1. Please go to the Project A -\> Project settings -\> Fields -\> Edit the Field configuration to see if there are required fields. You should see a \[required\] sign next to the field name

2. Please go to the Project A -\> Project settings -\> Workflow -\> Edit the workflow, check each create transition to see if there is a validator or post-function in place.

3. Go to Administration -\> Manage Apps -\> See if you have Script Runner


author: Anandhi Arumugam
body: [@Brian Ventura](/t5/user/viewprofilepage/user-id/5441817) Do you have an error log that you can share? You can find this either in the execution logs against the validator or post-function. You could also find the log when you do the submit action from atlassian-jira.log.


author: Brian Ventura
body: I'm sorry I am new to Jira Admin. I can provide the logs but can you share more detailed description of how to find the logs.


Tags: data-center

jira-service-management

jira-service-management-data-center

jira-software