Move form "Save" button to top of form page

Does anyone know how it would be possible to move the ‘save’ button to the top of the form (right hand side, in line with the form name/title?

Assuming this is possible with the right CSS and have had a play around but it’s not my forté.

Thanks in advance to anyone that can help!

Hey @richUK,

Welcome to the community!

This is certainly possible with some custom CSS.

First, we’ll need to add a class to the form component by navigating to the Form Components Settings > Design > CSS > Additional CSS Classes. Add a unique CSS class that you can use to target this specific form.

Next, add the following code to the CSS section of the page.
Note: I use the “my-form” class because that is what I added to the CSS class in the first step.

.my-form form{
    display:table;
    width:100%;
}
.my-form .form-submit{
    display: table-header-group;
}
.my-form .form-submit button{
    float:right;
}

Note: You may want to remove the Title from the form and add an HTML component on top of the form in the page builder instead.

Here’s how the final result looks

4 Likes

I’ve been asked quite a few times about moving the Form Submit button to the right as well. So I will add to this post.

I include the quote from the previous solution as the first part is the same.

CSS code for aligning to the right only.

.my-form .form-submit button{
    float:right;
}

Any way to center it? Haven’t had much luck with CSS to center.

Here’s the CSS to center the button

.my-form .form-submit button{
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}