Mautic Community Forums

mautic + external forms = how-to?

Wondering about best way putting mautic into external forms?

In your Mautic form, generate some hidden fields and after the page is fully loaded (i.e. form was injected), set those fields values on your webpage (e.g. ($(document).ready(function() {$('#form-field-id').val('your value')}); or similar)

Wondering about best way putting mautic into external forms?

@craziedde ,
do you mean using an external form provider (e.g. typeform) and integrating into Mautic, or do you mean embedding Mautic forms in an external website?

Cheers
Jo

[quote=20973:@JoPitts]@craziedde … or do you mean embedding Mautic forms in an external website?

Cheers
Jo[/quote]

Yes, embedding into external, website

@craziedde, Try this:

  • From the forms page (Components | Forms), click on the form you want to embed.
  • On the right hand side, you’ll see an area titled ‘Form HTML’.
  • Depending on your needs, take the code from either manual or automatic sections, and embed into your existing page.

Hope that helps.

Cheers
Jo

[quote=21007:@JoPitts]@craziedde, Try this:

  • From the forms page (Components | Forms), click on the form you want to embed.
  • On the right hand side, you’ll see an area titled ‘Form HTML’.
  • Depending on your needs, take the code from either manual or automatic sections, and embed into your existing page.

Hope that helps.

Cheers
Jo[/quote]

Thank you for help Jo,
Is there way to grab info from existing external website form? into Mautic?

@craziedde, So in other words, integrating data from an external source into Mautic?

Inject the data via a custom webservice or create a mautic form, and on submission from the current website, just take the data and submit to the mautic form (a bit quick and dirty, but it would work very easily)

Also, search here for others who have done the same thing.

Cheers