Skip to main content
Level 2
Apr 21, 2021 11:12 PM UTC
Solved

Person Source hidden field not populating

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? 

 

 

 

 

SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Apr 22, 2021 8:46 PM UTC

https://abnormalsecurity.com/request-demo/


You have custom code in this separate JS file that's overriding Marketo's behavior:

 

  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.)

9 replies

Level 2
Apr 21, 2021 11:15 PM UTC

Here's an example of a field that's working on the same form with the same type of logic: 

 

 

 

 

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Apr 22, 2021 2:45 AM UTC
Exactly what form(s) of value population are "not working" in the case of Person Source?
Translate
Level 2
Apr 22, 2021 4:15 PM UTC

Sanford, 

 

Thanks for helping me tackle this one. I'm sorry, I don't understand your question here. Could you elaborate?

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Apr 22, 2021 5:39 PM UTC
I mean you have multiple ways of getting data into the field, so which ways aren't working?
Translate