Solved! Go to Solution.
Thanks a lot,
There is no supported programmatic way to determine whether the current cookie is associated (there are undocumented methods but they are not guaranteed to work at later points in time).
However, you can take advantage of the same Known Lead Substitute HTML feature we're discussing here to determine whether known/anonymous. Load a hidden "detector" form that is set to use HTML if known. Then check to see if the custom HTML element is present in the form or not.
You can branch this same logic to solve your problem. Load the detector form to see if the lead is known or not, and load the real form and hide/show fields based on the outcome of the detection.
The way I see it, this task does not require segmentations.