I asked, then I figured it out. I sure do appreciate the quick response
Ryan,
This looks like what I need. A couple of questions:
You mean coercing "1" and "" to true and false?
yes.
{
myBooleanField: !!+"{{Lead.Boolean Field}}"
}
Hi All
I am prefilling around 40 fields with the above method and out of 2 fields are not prefilling. I am using the correct API Name and 1 of them is Company name and 1 is the custom field. Could you please help me in this case.
Need more info. What distinguishes the fields that aren't working? What's the exact output into the JS? Are there syntax errors?
There is no error in the script. There is no difference in all fields. I am using the same method as Company: "{{Lead.Company Name}}",
but for the company field, it's not working.
It's
{{Company.Company Name}}
I would apreciate if form-prefill would work in external embedded forms.
Or is there another solution to use the prefill function in external pages?