# Form no longer editable after adding Field attributes to fields.

**URL:** <https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494>\
**Category:** Product Support\
**Created:** [October 9, 2015, 11:49am UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494 "2015-10-09T11:49:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![raman92](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@raman92](https://forum.mautic.org/u/raman92)\
**Post date:** [October 9, 2015, 11:49am UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/1 "2015-10-09T11:49:26Z")

</div>

I have a issue with mautic form. I made a form and then attached a campaigning email to it and published both. And then I put form on website and it was working fine until I edited the form and added Field Attribute for two of the fields. When I applied, saved and closed again I edited the form but this time the edited fields are no longer editable but others are. On website the two fields I edited lost their Red Star\* in label. With this whole process I never unpublished the form. Any help? Because I am a beginner in this and want to understand how it works and what precautions should I take before edit anything.

---

<div class="post-metadata">

**Author:** ![raman92](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@raman92](https://forum.mautic.org/u/raman92)\
**Post date:** [October 9, 2015, 11:49am UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/2 "2015-10-09T11:49:26Z")

</div>

I have a issue with mautic form. I made a form and then attached a campaigning email to it and published both. And then I put form on website and it was working fine until I edited the form and added Field Attribute for two of the fields. When I applied, saved and closed again I edited the form but this time the edited fields are no longer editable but others are. On website the two fields I edited lost their Red Star\* in label. With this whole process I never unpublished the form. Any help? Because I am a beginner in this and want to understand how it works and what precautions should I take before edit anything.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 9, 2015, 1:11pm UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/3 "2015-10-09T13:11:06Z")

</div>

There are few bugs int the Form configuration UI which will be fixed with this pull request in 1.2.1:

[https://github.com/mautic/mautic/pull/943](https://github.com/mautic/mautic/pull/943)

But I didn’t notice the problems you’ve described. Could you write a step by step tutorial about how to see that issue?

---

<div class="post-metadata">

**Author:** ![raman92](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@raman92](https://forum.mautic.org/u/raman92)\
**Post date:** [October 15, 2015, 11:23am UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/4 "2015-10-15T11:23:49Z")

</div>

First Name – Field Attribute – class-inline-1  
Last Name – Field Attribute – class-inline-2  
So that I could apply styling on both fields to show side by side.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 15, 2015, 11:30am UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/5 "2015-10-15T11:30:27Z")

</div>

I can recreate the issue. I’ll fix it for the next version.

---

<div class="post-metadata">

**Author:** ![raman92](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@raman92](https://forum.mautic.org/u/raman92)\
**Post date:** [October 15, 2015, 6:36pm UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/6 "2015-10-15T18:36:49Z")

</div>

Thank you very much.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 16, 2015, 8:46am UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/7 "2015-10-16T08:46:49Z")

</div>

The fix is here: [https://github.com/mautic/mautic/pull/1018](https://github.com/mautic/mautic/pull/1018)

If you’d have a chance to test it, please, write a comment below the pull request it if works for you or not.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 12, 2015, 6:25am UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/8 "2015-10-12T06:25:29Z")

</div>

You can change a campaign form after it is attached to a campaign. There shouldn’t be any problem. The red star used as validation mark is implemented by CSS:

```auto
.mauticform-row.mauticform-required .mauticform-label:after {
    color: #e32;
    content: " *";
    display: inline;
}
```

So rather check if the attribute you’ve added didn’t mess with this CSS statement.

---

<div class="post-metadata">

**Author:** ![raman92](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@raman92](https://forum.mautic.org/u/raman92)\
**Post date:** [October 12, 2015, 1:12pm UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/9 "2015-10-12T13:12:53Z")

</div>

Thanks for your information.  
I have already tried your solution by myself but never worked.  
See this. When I hover over on email I can see the options to edit and also required red star on work email. ![](https://drive.google.com/file/d/0B7rOW3OviqtDeVhqRWJvd3lOODQ/view?usp=sharing)([https://drive.google.com/file/d/0B7rOW3OviqtDeVhqRWJvd3lOODQ/view?usp=sharing](https://drive.google.com/file/d/0B7rOW3OviqtDeVhqRWJvd3lOODQ/view?usp=sharing))  
And this ![](https://drive.google.com/file/d/0B7rOW3OviqtDa1lDclphcEhFd00/view?usp=sharing)([https://drive.google.com/file/d/0B7rOW3OviqtDa1lDclphcEhFd00/view?usp=sharing](https://drive.google.com/file/d/0B7rOW3OviqtDa1lDclphcEhFd00/view?usp=sharing)) When I hover over first name or last name then no options are showing.  
(Mouse pointer not showing because of print screen command)

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 14, 2015, 7:48am UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/10 "2015-10-14T07:48:20Z")

</div>

Could you publish what attributes have you added to those fields?

---

<div class="post-metadata">

**Author:** ![raman92](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@raman92](https://forum.mautic.org/u/raman92)\
**Post date:** [October 10, 2015, 10:19am UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/11 "2015-10-10T10:19:20Z")

</div>

Yeah sure but first I want to ask if a campaign is attached to a form and both are published and if then I make changes to form and save it will this cause any problem? Because I did this.  
I created a form with first name, last name and email. After that I published and got 2-3 testing leads. Then I created a email campaign, attached to form and sent test email to see if it is working fine and they were working fine. Now after this I opened form option from left menu on mautic, selected my form, chose edit and then added field attribute to first name and last name, Applied then saved and closed.  
Now problem started on my wordpress website where I was showing that form, First name and Last name field lost their **Required Red Star**. I haven’t tested my form by creating any lead. Validation is working fine.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/form-no-longer-editable-after-adding-field-attributes-to-fields/2494/12 "2020-02-02T22:57:47Z")

</div>


