# Some problems with version 4.4.1

**URL:** <https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [August 29, 2022, 6:01pm UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216 "2022-08-29T18:01:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![cesarcimborrio5](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cesarcimborrio5/32/8173_2.png) [@cesarcimborrio5](https://forum.mautic.org/u/cesarcimborrio5)\
**Post date:** [August 29, 2022, 6:01pm UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216/1 "2022-08-29T18:01:11Z")

</div>

My Mautic version is: 4.4.1  
My PHP version is: PHP Version 7.4.30  
My Database type and version is: 10.6.8-MariaDB

Hi,

I am trying to use URL parameters to populate fields in forms, but it is not working.  
I tried doing it as detailed here:

> **[Managing forms | Mautic](https://docs.mautic.org/en/components/forms/managing-forms?_ga=2.71663251.1892206689.1661783337-144474075.1660724927#pre-populate-a-form-field-value)**
>
> . The new form view lets you create a form and attach any fields you want to collect from your users. After you've created the fields you can then define what actions you want to perform after the user submits the information.Form Overview. The form...

But it is not working. Fields have “Auto fill data” to Yes and I saw a lot of other ideas in this forum but none is working.

Another problem which I think is related is “Record UTM tags in a Form” isn’t working also.

I am using a AMI in AWS provided by Bitnami.  
Any ideas?

César

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [August 30, 2022, 10:19am UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216/2 "2022-08-30T10:19:26Z")

</div>

Hi

A few basics that maybe you are already taken care of here:

1. Make sure the custom fields are set as Publicly Updatable  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/21acae3119d62b8e4a62809129c3931adf92175f.png)
2. Make sure you are testing on a browser where you are not logged into Mautic.

---

<div class="post-metadata">

**Author:** ![cesarcimborrio5](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cesarcimborrio5/32/8173_2.png) [@cesarcimborrio5](https://forum.mautic.org/u/cesarcimborrio5)\
**Post date:** [August 31, 2022, 2:13pm UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216/3 "2022-08-31T14:13:56Z")

</div>

Hi @mikew ,  
Thanks for your help. But still not working.  
Custom fields were with “Publicly updatable” = Yes  
and I tested in several browsers (Safari, Firefox and Chrome) with no results. None of them connected to Mautic.  
I am new to Mautic, so I installed Bitnami 4.4.1 version on AWS. I do not know if this (because is very recent) could be a problem.  
And my experience tells me this is related with the problem of not recording when I select the action “Record UTM tags in a Form”, but I have no idea where is the problem.

This is the page I am testing with an embebed form:  
[Clases semanales sobre anuncios en Google, Facebook - MAUTIC - Gestión de Anuncios on-line](https://www.cimborrio5.com/mautic-clases-semanales/)?

This is something I am using with Active Campaign and I want to move to Mautic, but I need this working first.

César

---

<div class="post-metadata">

**Author:** ![IonutOjicaDe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ionutojicade/32/7383_2.png) [@IonutOjicaDe](https://forum.mautic.org/u/IonutOjicaDe)\
**Post date:** [August 31, 2022, 8:18pm UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216/4 "2022-08-31T20:18:10Z")

</div>

Hi,  
I had also some problems with exactly this subject and I could solve it by adding this script to the page:

```auto
<script>
(new URL(window.location.href)).searchParams.forEach((x, y) =>document.getElementById(y).value = x);
</script>

```

After you will add the script to the page you mentioned, you will be able to call the page with the prefilled fields like this (we will be using the IDs of the input fields):  
[https://www.cimborrio5.com/mautic-clases-semanales?mauticform\_input\_capturaleadsevento1\_nombre=Ionut&mauticform\_input\_capturaleadsevento1\_tu\_mejor\_email=test@test.de](https://www.cimborrio5.com/mautic-clases-semanales?mauticform_input_capturaleadsevento1_nombre=Ionut&mauticform_input_capturaleadsevento1_tu_mejor_email=test@test.de)

JoeyK mentioned that fields should be filled without the script … by me this did not worked, so I am using the script.

Greetings from Germany,  
Ionut

---

<div class="post-metadata">

**Author:** ![cesarcimborrio5](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cesarcimborrio5/32/8173_2.png) [@cesarcimborrio5](https://forum.mautic.org/u/cesarcimborrio5)\
**Post date:** [September 4, 2022, 7:26pm UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216/5 "2022-09-04T19:26:21Z")

</div>

Thanks @IonutOjicaDe

Not working… and I cannot understand why. You can check that your code is in the page but not working.  
I have a doubt… not and expert on JS, but the pair of key=value params… x is the name of the param and y the value? if so, it has to be changed: getElementById(x).value = y.  
But I also tried this change with no luck.

And also is the problem of recording utm values…

I’ll keep fighting. Thanks for your time.  
César

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [September 5, 2022, 5:46am UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216/6 "2022-09-05T05:46:19Z")

</div>

Hi. I am not sure what your custom fields are called, so maybe what you have is correct, but in the off case that it is not so you should use the custom field like [Gestión de anuncios on-line - Gestión de Anuncios on-line](http://www.cimborrio5.com/?email=mike@surge.media)

What are your custom field names for firstname and email ?

Inside your form are you linking the fields you are making to a field like email or firstname.

Can you send screenshots of your form, the fields inside, and then the settings of the fields from custom fields

---

<div class="post-metadata">

**Author:** ![cesarcimborrio5](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cesarcimborrio5/32/8173_2.png) [@cesarcimborrio5](https://forum.mautic.org/u/cesarcimborrio5)\
**Post date:** [September 6, 2022, 5:40pm UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216/7 "2022-09-06T17:40:30Z")

</div>

Hi @mikew

This is the screenshot for the form:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/015c4426238dd5e3ad0752048fb020bde117b3fb.png)

This for the fields:  
 ![Captura de Pantalla 2022-09-06 a las 19.29.52](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/c/c0ad80c3c3c3fe884b8d130a18ca75d1abccec02.png)

Field number one is the name of the contact. I think I have to use a text field and link with “First name”. So…

Field 1-\> General  
 ![Captura de Pantalla 2022-09-06 a las 19.31.36](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/b538239b139017ca62cdad3dc61b1f31171a35d1.png)

Field 1 → Contact field  
 ![Captura de Pantalla 2022-09-06 a las 19.31.43](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/f0beb81bb999efd90582cf15bf59818e802d3718.png)

Field 1 → Behavior  
 ![Captura de Pantalla 2022-09-06 a las 19.31.55](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/2ffa2d845d21d454243d809e4f19b7bdc1b1a560.png)

Same for field 2 which is used for email… Contact field  
 ![Captura de Pantalla 2022-09-06 a las 19.34.04](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/8c074add9039d3726e2f0a613bfd3cf414eae367.png)

But regarding custom fields, I did not create any new custom field. I understand I have to use the first name and email.  
Do you mean I need to put those as “Publicly updatable”?  
Because I already did that but nothing changed…

Here you can see First name:

 ![Captura de Pantalla 2022-09-06 a las 19.36.47](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/df5a6b5d3b8a3ef6ddf5377fe94d7490f5784d73.png)

I just need to populate the name and email when url is called like

> **[Clases semanales sobre anuncios en Google, Facebook - MAUTIC - Gestión de...](https://www.cimborrio5.com/mautic-clases-semanales/?mauticform_input_capturaleadsevento1_nombre=MyName&email=MyEmail)**
>
> Clases en directo para queaprendas sobreANUNCIOS Y PUBLICIDAD ONLINE ¿Quieres aprender a dar los primeros pasos para trabajar con anuncios online y aumentar tus ventas y ofrecer tus servicios a nuevos clientes? Pues te espero todos los miércoles a...

Am I wrong on something?  
Many thanks!  
César

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [September 7, 2022, 6:16am UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216/8 "2022-09-07T06:16:17Z")

</div>

Hi @cesarcimborrio5

It looks like you have done everything correctly. I am unfamiliar with the Bitnami install, from what I see it all looks good.

I could not find the page where your form is at the moment, the last thing to try is to manually push the data into the form via a url so something like [https://yourdomain.com/page-with-form?firstname=mike](https://yourdomain.com/page-with-form?firstname=mike)

Test that and see if that populates.

When doing that have a look at all the logs to see if there are any errors. There are a few logs to look at:

1. The console log
2. The Mautic System log from the Mautic interface (System Info-\>logs)
3. The mautic.error log which usually site in /var/log/nginx/mautic.errror or /var/log/apache2/mautic.error

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [September 7, 2022, 7:30am UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216/9 "2022-09-07T07:30:45Z")

</div>

Definitely check out this post

> [@Can't pre-fill form fields with procedure described in Mautic documentation](https://forum.mautic.org/t/cant-pre-fill-form-fields-with-procedure-described-in-mautic-documentation/10919/11):
>
> acording with this code the name of the field is campaign not accountType, so in the URL you should have ?campaign=ProspectFreeClass1, what my script will do is look at all the parameters passed in the URL (eg: campaign). then check if there is a mautic form field with that name (or name=“mauticform[campaign]”) and set the value of the field in this example ProspectFreeClass, the user is free to change the form field (unless you define the field as “readonly” or “hidden” , and the value will …

Leo’s script worked for me

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [September 10, 2022, 11:28am UTC](https://forum.mautic.org/t/some-problems-with-version-4-4-1/25216/10 "2022-09-10T11:28:52Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
