If Contains formula

Can you have a formula that looks at 2 different "if contains" from two different website information commands?

For instance if I want the snippet to put in a certain phrase if 1 of the if contains is true but put a different phrase if both if contains are true how would I set that up in my snippet? I have tried a few ways and it doesn't look at the second if contains formula

Hi @echapman
Does this work?

{formmenu: x; default=y; name=a}
{formmenu: u; default=v; name=b}
{list=[a,b]}
{if: contains(list, "x") and not contains(list, "u")}x and not u{elseif: contains(list, "x") and contains(list, "u")} x and u{elseif: contains(list, "y") and not contains(list, "u")} y and not u {else} y and u{endif}

so with this I am creating a list of what the outcome could be and then using the if contains to decide which list outcome goes with which if contains?

to further explain,

I have two areas of a form we use that I want to pull data from on a website. If both are empty we would do one process, if one is filled we would do another process and if both are filled we would do another separate process. does that make sense?

This is probably easier done in person. Please let me know if you'd like to jump on a quick call. (email me - dan @ blaze.today)
Meanwhile, how about this?

{a=<first web selector>}
{b=<scond web selector>}

{if: a="" and b=""}<process if both are empty>{elseif: a<>"" and b<>""}<process if both are filled>{else}<process if one is filled>{endif}

I would love to jump on a call when you are available. I am available for the rest of the day today and tomorrow in the morning