TechBuzzPro

How to Set Email Alignment in JotForm

· 4 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can set email alignment in a registration form in JotForm by adjusting the form field alignment and using custom CSS. This ensures your email input appears properly aligned with other fields, improving form readability and user experience. You’ll need access to the JotForm editor and a basic understanding of form styling.

What You'll Need

  • An active JotForm account
  • A registration form created or in progress
  • Access to the Form Designer or CSS editor
  • Basic knowledge of HTML and CSS (helpful but not required)

Step-by-Step

  1. Log in to your JotForm account and open the form editor for your registration form. Locate the email field you want to align.
  2. Click on the email field to select it. In the toolbar above, look for alignment options—usually labeled as left, center, or right align. These controls adjust how the field content displays inside the form.
  3. Choose your preferred alignment (left is standard for most forms). Note that this only affects the field’s internal text alignment, not its position on the page.
  4. To adjust the field’s position relative to other form elements, click the "Form Designer" button at the top of the editor. This opens the advanced styling interface.
  5. In the Form Designer, locate the "Layout" or "Fields" section. Here, you can drag and drop the email field to a new position or use column settings to place it within a grid.
  6. If your form uses multiple columns, ensure the email field is in the correct column group. Click and drag the field into the desired column, or use the "Split" option to create a two-column layout if needed.
  7. For finer control, switch to the "CSS" tab in the Form Designer. JotForm allows custom CSS for advanced styling. Click "Inject Custom CSS" at the bottom of the panel.
  8. Enter a CSS rule targeting the email field. For example, to center-align the email input box: Replace "email" with the actual field name if different.
  9. To align the entire field (label and input) on the page, target the parent container:
    .form-line.form-line-email { text-align: center; }
    This centers both the label and input box.
  10. For right alignment, replace "center" with "right" in the CSS rule. Always preview your form after applying changes to confirm the alignment appears as intended.
  11. Click "Save" in the Form Designer and then "Publish" your form to apply the changes live.

Common Mistakes

  • Assuming the toolbar alignment buttons control layout position—they only affect text inside the field.
  • Forgetting to check the form on mobile devices, where alignment may shift due to responsive design.
  • Using generic CSS selectors that affect multiple fields instead of targeting the email field specifically.
  • Not previewing the form after changes, leading to unintended visual issues.
  • Overwriting custom CSS when switching themes or layouts without backing it up.

Tips

  • Use JotForm’s grid and column layout tools first before resorting to custom CSS—they’re easier and less error-prone.
  • Label your email field clearly (e.g., "Email Address") to avoid confusion, especially in multi-field forms.
  • Test alignment across devices using the "Preview" button with desktop and mobile views.
  • Keep custom CSS simple and commented for future editing. For example: /* Center email field */
  • Use field IDs instead of names in CSS for more precise targeting. You can find the ID in the "Properties" panel.

Troubleshooting

If the email field does not align as expected, first check that you’re editing the correct form and field. Ensure no conflicting CSS rules are applied elsewhere. Clear your browser cache or try a different browser to rule out display issues. If using custom CSS, disable it temporarily to see if the default layout works. Re-enable it line by line to find the problematic rule. If the form layout resets after saving, ensure you clicked "Save" in the Form Designer and not just the form editor. If alignment shifts on mobile, adjust the responsive settings in the Form Designer under "Mobile Styling". If nothing works, duplicate the form and test changes on the copy to avoid losing your original layout.

Frequently Asked Questions

Can I align only the email input without affecting the label?

Yes. Use to align just the input box text.

Why doesn’t the alignment change show up on mobile?

JotForm uses responsive design that may override desktop settings. Check the Mobile Styling section in Form Designer for device-specific controls.

Do I need to code CSS for simple alignment?

No. Use the built-in alignment buttons and layout tools first. Reserve CSS for advanced adjustments.

Can I left-align the label but center the input?

Yes. Target elements separately: use .form-label for the label and .form-textbox for the input with different alignment rules.

Will alignment affect form functionality?

No. Alignment is purely visual and does not impact data collection or submission.

Is there a way to save my custom alignment as a template?

Yes. After perfecting your form, save it as a template in JotForm for reuse in future projects.