Using addHiddenFields forms not mapping to Marketo fields
Hi All-
I created the custom script to allow our team to pull page meta data into a hidden field. It seems to work properly, and the values appear in the web console. However, I can't figure out why the fields are not populating in Marketo. The fields are mapped to Salesforce.

This screenshot shows the addHiddenFields script working and populating with the right page meta data values.
However, I am getting blanks when testing the form submits.

This was working in prior testing, but I was using Marketo fields not mapped to Salesforce. I wondering if that is causing the problem. I even changed the field names to match exactly to the API names.

The values also appear on the web form submission details page in the lead activity log.

I don't know what I am missing?!
Thanks,
Ben