Person Source hidden field not populating | Community
Skip to main content
Level 2
April 21, 2021
Solved

Person Source hidden field not populating

  • April 21, 2021
  • 2 replies
  • 3809 views

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? 

 

 

 

 

Best answer by SanfordWhiteman

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

2 replies

Level 2
April 21, 2021

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

 

 

 

 

SanfordWhiteman
Level 10
April 22, 2021
Exactly what form(s) of value population are "not working" in the case of Person Source?
Level 2
April 22, 2021

Sanford, 

 

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

SanfordWhiteman
Level 10
April 22, 2021
I mean you have multiple ways of getting data into the field, so which ways aren't working?