# Form Alias Problem

**URL:** <https://forum.mautic.org/t/form-alias-problem/1646>\
**Category:** General Discussion\
**Created:** [March 11, 2015, 1:22am UTC](https://forum.mautic.org/t/form-alias-problem/1646 "2015-03-11T01:22:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nickske157](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@Nickske157](https://forum.mautic.org/u/Nickske157)\
**Post date:** [March 11, 2015, 1:22am UTC](https://forum.mautic.org/t/form-alias-problem/1646/1 "2015-03-11T01:22:36Z")

</div>

Dear Mautic,  
  
  
  
I saw that it is not possible to change the alias of a form after it has been created.  
  
The alias is being used to keep the form onscreen by using an anchor.  
  
But I was able to change that in mysql by changing the alias column in the forms table.  
  
  
  
By changing that, I discovered that (-) hyphens in an alias are not a good idea because when you submit a form, you will get a insert mysql error.  
  
Also I change the form result table: form\_results\_{id}\_{alias} to match the new alias name  
  
  
  
The reason why I ask this, is because one of our templates uses hyphens in the anchors.You would say then delete the hyphens in the anchor but the hyphens are added programmatically in our CMS system.  
  
  
  
Can this be fixed or does somebody have another idea?  
  
  
  
Example:  
  
Form name: hi there  
  
Alias: hithere  
  
  
  
Change alias to: hi-there because of existing anchor #hi-there  
  
Change result table to: form\_results\_1\_hi-there  
  
  
  
When you submit the form, the form stays active and you will see an error message or success message.  
  
But in Mautic, no form is receive =\> error in log that could not insert in table  
  
  
  
PS: I used following success message: [http://www.example.com/?mauticMessage=Thanks%20for%20your%20submission#hi-there](http://www.example.com/?mauticMessage=Thanks%20for%20your%20submission#hi-there)  
  
  
  
Kind Regards  
  
  
  
Nick

---

<div class="post-metadata">

**Author:** ![Nickske157](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@Nickske157](https://forum.mautic.org/u/Nickske157)\
**Post date:** [March 11, 2015, 1:22am UTC](https://forum.mautic.org/t/form-alias-problem/1646/2 "2015-03-11T01:22:36Z")

</div>

Dear Mautic,

I saw that it is not possible to change the alias of a form after it has been created.  
The alias is being used to keep the form onscreen by using an anchor.  
But I was able to change that in mysql by changing the alias column in the forms table.

By changing that, I discovered that (-) hyphens in an alias are not a good idea because when you submit a form, you will get a insert mysql error.  
Also I change the form result table: form\_results\_{id}\_{alias} to match the new alias name

The reason why I ask this, is because one of our templates uses hyphens in the anchors.You would say then delete the hyphens in the anchor but the hyphens are added programmatically in our CMS system.

Can this be fixed or does somebody have another idea?

Example:  
Form name: hi there  
Alias: hithere

Change alias to: hi-there because of existing anchor #hi-there  
Change result table to: form\_results\_1\_hi-there

When you submit the form, the form stays active and you will see an error message or success message.  
But in Mautic, no form is receive =\> error in log that could not insert in table

PS: I used following success message: [http://www.example.com/?mauticMessage=Thanks%20for%20your%20submission#hi-there](http://www.example.com/?mauticMessage=Thanks%20for%20your%20submission#hi-there)

Kind Regards

Nick

---

<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, 11:00pm UTC](https://forum.mautic.org/t/form-alias-problem/1646/3 "2020-02-02T23:00:32Z")

</div>


