# Mautic is deleting the "onclick" on the landing pages

**URL:** <https://forum.mautic.org/t/mautic-is-deleting-the-onclick-on-the-landing-pages/18566>\
**Category:** Product Support\
**Created:** [March 13, 2021, 5:26pm UTC](https://forum.mautic.org/t/mautic-is-deleting-the-onclick-on-the-landing-pages/18566 "2021-03-13T17:26:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaioduarte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kaioduarte/32/4697_2.png) [@kaioduarte](https://forum.mautic.org/u/kaioduarte)\
**Post date:** [March 13, 2021, 5:26pm UTC](https://forum.mautic.org/t/mautic-is-deleting-the-onclick-on-the-landing-pages/18566/1 "2021-03-13T17:26:35Z")

</div>

**Your software**  
My Mautic version is: 2.16.2  
My PHP version is: 7.1.33  
My Database type and version is:

**Your problem**  
My problem is: I’m using a checkout widget on the buttons on my landing page using this tutorial ([https://ajuda.eduzz.com/?article=using-o-checkout-widget](https://ajuda.eduzz.com/?article=using-o-checkout-widget)) however, when saving the code in the Mautic editor, it deletes automatically onclick=“Eduzz(‘Widget’, { id: 123456 }, this);” inside the .

These errors are showing in the log:

Steps I have tried to fix the problem:
