Hi team, I have a question I hope can be answered:
In creating a demo request form, I'd like to have lead source be filled in by default, with the chance of it changed via url parameters. This is working just fine with a few other fields I have as hidden fields, but for some reason, it is NOT populating for person source. Any reason you can see it not working correctly?
Solved! Go to Solution.
You have custom code in this separate JS file that's overriding Marketo's behavior:
https://abnormalsecurity.com/wp-content/themes/saasland/assets/js/custom-wp.js
(Note that code itself is broken — it doesn't use the Marketo Forms JS API properly, so should be rewritten — but it's the cause.)
Here's an example of a field that's working on the same form with the same type of logic:
Sanford,
Thanks for helping me tackle this one. I'm sorry, I don't understand your question here. Could you elaborate?
As i'm doing with Campaign ID, I'm hoping to have it be a hidden field on the form, populated by URL source, but with the default being "Organic Website". The default of "Organic Website" isn't populating like it is with the other fields i'm using the same strategy for.
What's a page this is running on?
You have custom code in this separate JS file that's overriding Marketo's behavior:
https://abnormalsecurity.com/wp-content/themes/saasland/assets/js/custom-wp.js
(Note that code itself is broken — it doesn't use the Marketo Forms JS API properly, so should be rewritten — but it's the cause.)
BLESS YOU! Thank you!