Auto Filled Form Field Not Saving

Hi Guys,

I am currently using Google Tags Manager to Autofill a field on a dataset form.
The purpose is a customer views the site and when they enquire with an email I also capture the Google Analytics ID to record offline conversions.

Problem: The google id field is auto populating as it should however when you hit submit it simply disappears like it never fully registered in the field. Once the field populates if you remove a number then add it back in, it works fine. Im not the greatest coder, this is functioning 90%.

Can anyone help me with a some advice on how to make the form field acknowledge the entry?

1 Like

hey… i had a similar issue where i was using the .value code to insert the code into the input fields.

apparently you need to use setFieldValue( ) and SAVE the variable manually by coding it.

here is my code:

Thanks for the grate help.