Hi! I'm trying to pull a bunch of info from a client page and color code it. I want the snippet to grab the answer of this test (which it seems to do successfully) and then IF the grabbed text matches "New, In Progress" I want it to populate an X. Am I putting something wrong? With the below snippet it grabs the answer I'm looking for but the IF function doesn't seem to read it right.
Permit Status: {site: text; page=https://renewalbyandersen.lightning.force.com/; select=ifneeded; selector=[field-label="Permit\ Status"] [data-output-element-id="output-field"]}{if: contains({site: text; select=ifneeded; selector=[field-label="Permit\ Status"] [data-output-element-id="output-field"]; page=https://renewalbyandersen.lightning.force.com/}, "In Progress, New")}{else}{endif}
LSWP Status: {site: text; select=ifneeded; selector=[field-label="LSWP\ Test\ Results"] [data-output-element-id="output-field"]; page=https://renewalbyandersen.lightning.force.com/}{if: contains({site: text; select=ifneeded; selector=[field-label="LSWP\ Test\ Results"] [data-output-element-id="output-field"]; page=https://renewalbyandersen.lightning.force.com/}, "Positive, In Progress")} Include LSWP Form {else}{endif}
Ends up with this result. LSWP Status shows in Progress yet still checks it
Permit Status: Received✔️
LSWP Status: In Progress✔️