Hi everyone, this is an extension of this question - Hiding forms for known visitors, but still requiring some fields.
Solved! Go to Solution.
Above the call to loadForm() in the embed code, insert this code:
mktoPreFillFields.filledFields = Object
return mktoPreFillFields[field] != "null";
What's your URL?
And do you mean Progressive Profiling or Pre-Fill (ProgPro doesn't "fill in" fields, it hides fields that either have a value or are greater than your ProgPro max displayed fields setting).
Progressive profiling. I only want it to show the field(s) we need to collect.
This works great! Thank you very much Sanford.
Cool, you actually caught an interesting bug/exceptional situation but not worth an official fix.
There is actually one hiccup in this, in that you can still submit the form even if the embedded form is missing a required field.
That's not related to the ProgPro, though.
That's happening because you aren't showing the right Submit button for the embedded form (not sure why you did this).
Ah, gotcha. It is what they suggested in the previous thread. I am not sure how to fix having two buttons without hiding the second one.