Custom landing pages

Hi everyone

I created a a form and copy the html code.

I created a custom landing page and i try to paste the code of the form. The form works but the custom page add, i don’t know why, some

sitnaxis to a part of the form code. The result is that in the page shows some part of code.

Anyone can help me with that?

Thanks

Federico

Hi everyone
I created a a form and copy the html code.
I created a custom landing page and i try to paste the code of the form. The form works but the custom page add, i don’t know why, some

sitnaxis to a part of the form code. The result is that in the page shows some part of code.
Anyone can help me with that?
Thanks
Federico

Hello Spi

Just to make sure I understand the issue:

You’re creating a form which you’re inserting into a custom landing page - is that a Mautic landing page or a page you’ve created somewhere else?

What happens if you preview the form directly without embedding it in the page? Does it show the

code you’re seeing? I’m just trying to determine if that is coming from the form or coming from your page editor somehow.

I try to explain better
Yes, i createde the form with mautic and copy the code (manual copy) to a custom landing page (created with mautic too)

If a preview the form i have no problem
In the final part of the code of the form appear:

var MauticForm_Registro = {... And when i copy the code in the custom landing page and click on apply the same part of the code change for the following ...

var MauticForm_Registro = { formId: As you can see change the for a

i don't know why

In Mautic’s page builder are you using the custom HTML builder or the page builder?

If you’re using the custom HTML builder, have you tried clicking the little ‘code’ icon on the toolbar? It might be that the WYSIWYG is killing off the script tag.

Yes, i’m using the html builder and used the ‘code’ button but the problem is the same

Hmm. I just did it with the code button but it seems to have worked:

https://www.evernote.com/shard/s42/sh/4beea5eb-d4da-4fb8-899c-960ebf62b569/75722e74e3cfb17a457d311ab0f4ef58

I viewed the form directly and it seemed to have worked.

I understand you but i show you this is the screen when i copy the code an paste it in the custom html with the ‘code’ tool
http://www.verumgroup.com/images/img1.png

After i accept and apply the changes the code desapear
http://www.verumgroup.com/images/img2.png

Hi Spi

Can you a your html page & form source as a text file and post it here. I’ll try to run it in my page builder and see what happens. Could be some other html on the page is throwing things off.

*can you add your html page & source …

There are the links for the code of the page
http://www.verumgroup.com/Demos/codigos/pag_html.txt
and the code for the form
http://www.verumgroup.com/Demos/codigos/codigoForm.txt

There are codes very simples

Hi:

I did add your form to a custom page which had the same contents you sent. I’m not having an issue where the code is being stripped out like you’ve demonstrated.

I am running Rc3, I’m asking to see if any bugs have been fixed which make it work for me. What are you running right now?

Also, which browser? Just in case that comes into play.

I’m running the mautic-1.0.0-beta4 version i believe, idon’t know how to see the exact version
The browser is chrome

what’s in the lower righthand corner?

https://www.evernote.com/shard/s42/sh/7ed31d8d-7c51-4657-bee0-949a204d81bc/ace249b7ef22d2a08512fa038760c60a

Also you should be able to update pretty easily with the built in updater. Try doing that and see if it resolves this issue. A lot of bugs have been fixed since the betas.

Just make sure stability level in config is at least RC, may have to logout and back in to force a recheck of available versions.

Hi, i´m having issue with WYSIWYG that is stripping HTML comment after saving the document, can you help?

Those HTML comments are usefull for responsive emails, etc.