Eduardo Kusdra Filho
Eduardo Kusdra Filho

Reputation: 25

Magic Form in OctoberCMS

I've being trying to edit some fields in the Magic Form plugin in OctoberCMS, but i'm facing some dificulties. I want to change the "recipient" that is going to receive all the information on the form in his email. But everytime i open the field "recipient", it has this html code inside. Heres a print showing it:enter image description here

"Destinatários" is the portuguese translation for "Recipient", where i should be able to write down an email, and should be good to go. However, everytime i open it, it has the same code inside, doesn't matter if i delete it.

Upvotes: 0

Views: 623

Answers (2)

Hardik Satasiya
Hardik Satasiya

Reputation: 9693

To fix this issue you need to change core OctoberCMS file

Source : https://tutorialmeta.com/october-cms/magic-forms-octobercms-bug-fix-solution

modules\system\assets\ui\storm-min.js (approx line no: 5808)

Before enter image description here

After enter image description here

This

<textarea class="form-control size-small field-textarea" name="name">
</textarea>

To This

<textarea class="form-control size-small field-textarea" name="name" value=""/>

It will fix your issue

if you have any doubt please comment.

Upvotes: 1

Sergey Zakharevich
Sergey Zakharevich

Reputation: 390

Just remove that html and add the email addresses you want (each address on a new line)

Upvotes: 0

Related Questions