# Bug OP-7105 - Form misplaced after error

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-7105

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 10.6.0 |
| Observed in versions |  |
| Sprint | 10.6.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Steps to reproduce:**

1.  Have a required Custom field for time tracking activities
2.  Go to Admin --&gt; Enumerations
3.  Click on a time tracking activity to edit it
4.  Leave the required field blank and click on save

### **Actual Behavior**

*   There is an error message shown and the required field is marked red (which is correct)
*   The field has moved below its label, although it was correct before the error was produced.
*   The save and cancel button are below each other, instead of next to each other. This was already wrong before producing the error.

![](/api/v3/attachments/17949/content)

### **Expected Behavior**

*   The best option would be to prevent, that a required field can be submitted empty overall.
*   Optional: Save and cancel should be next to each other.
