Passing a Field value in a URL

First off, I’m really liking this tool. It has been great so far.



I would like to do a little survey of customers. Right now I can ask them for their email, but it seems like I should be able to send them an email with a link to the form that contains a parameter (http://mysite.com/mautic/f1?email=joe@foo.com) and then have that value just stuck in to a field. Either one the user can’t see or populate a field on the form.



I searched and searched to see if this already exists, and could not find anything. Any suggestions? I’m not a great programmer but I guess I could add my own script to do this. But I was hoping it was a feature I just can’t find.



Thanks,



Eric

First off, I’m really liking this tool. It has been great so far.

I would like to do a little survey of customers. Right now I can ask them for their email, but it seems like I should be able to send them an email with a link to the form that contains a parameter (http://mysite.com/mautic/f1?email=joe@foo.com) and then have that value just stuck in to a field. Either one the user can’t see or populate a field on the form.

I searched and searched to see if this already exists, and could not find anything. Any suggestions? I’m not a great programmer but I guess I could add my own script to do this. But I was hoping it was a feature I just can’t find.

Thanks,

Eric

Hi Eric,

this is very good idea. It won’t be as simple, because there are 3 different ways how Mautic Forms are loaded:

  1. Every Mautic Form as a public preview on http://your-mautic/form/ID
  2. Mautic Form can be inserted as plain HTML into any website. The part of the HTML is JS, so a field could be probably populated by JS.
  3. Mautic Form can be inserted into a website with JS script. Field could be also preset by JS as from 2nd point.

Could you create a feature request in https://github.com/mautic/mautic/issues ? It will help developers to track the request better.

I am looking to do the same.
I have a widget plugin on wordpress page where i invite client to input firstname and email only, but i also need other info.
I want to push them to fill 2 field only and to push submit so I can get them in the DB, then to redirect them into a more complete form where the two fields are already present but would be prefilled thanks to passing value trough ulr.
Does this has been solved ?