# WP landing page

**URL:** <https://forum.mautic.org/t/wp-landing-page/3207>\
**Category:** General Discussion\
**Created:** [January 11, 2016, 7:24pm UTC](https://forum.mautic.org/t/wp-landing-page/3207 "2016-01-11T19:24:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincent](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@vincent](https://forum.mautic.org/u/vincent)\
**Post date:** [January 11, 2016, 7:24pm UTC](https://forum.mautic.org/t/wp-landing-page/3207/1 "2016-01-11T19:24:22Z")

</div>

Hi ![:)]( ":)")  
  
I saw your idea of using a js to populate fields on non mautic landing pages.  
  
For it to work, do I need to name my fields, elemFirstName for the firstname value for instance ?  
  
Might be a silly simple questions but i am not sure

---

<div class="post-metadata">

**Author:** ![vincent](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@vincent](https://forum.mautic.org/u/vincent)\
**Post date:** [January 11, 2016, 7:24pm UTC](https://forum.mautic.org/t/wp-landing-page/3207/2 "2016-01-11T19:24:22Z")

</div>

Hi 🙂  
I saw your idea of using a js to populate fields on non mautic landing pages.  
For it to work, do I need to name my fields, elemFirstName for the firstname value for instance ?  
Might be a silly simple questions but i am not sure

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 13, 2016, 9:56am UTC](https://forum.mautic.org/t/wp-landing-page/3207/3 "2016-01-13T09:56:00Z")

</div>

Hi @vincent

not sure what conversation are you replying to, but have you seen the Mautic - WP plugin?

[https://wordpress.org/plugins/wp-mautic/](https://wordpress.org/plugins/wp-mautic/)

It will help you embed a form as well.

---

<div class="post-metadata">

**Author:** ![vincent](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@vincent](https://forum.mautic.org/u/vincent)\
**Post date:** [January 13, 2016, 12:03pm UTC](https://forum.mautic.org/t/wp-landing-page/3207/4 "2016-01-13T12:03:19Z")

</div>

So I’ve adapted a bit of JS to populate fields : it takes parameters from the URL and prepopulates a WP post with them.  
Maybe not the prettiest js code ever, but it works.

[code]  
[/code]

---

<div class="post-metadata">

**Author:** ![rodfernand](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@rodfernand](https://forum.mautic.org/u/rodfernand)\
**Post date:** [January 13, 2016, 7:36pm UTC](https://forum.mautic.org/t/wp-landing-page/3207/5 "2016-01-13T19:36:50Z")

</div>

@vincent Are you trying to populate non-mautic forms?
