Skip to main content
Question

How to add logic like "If email URL parameter is not empty - use it, otherwise ask."

  • March 31, 2026
  • 1 reply
  • 14 views

I submitted a support request but realized I should probably ask here too - What I’m trying to accomplish seems pretty basic, but I can’t figure out how to do it.

In short, what I want is to avoid asking for information I already have, for example email.

I’d like to have logic that works like this: “If email (the url paramter) is not empty...” (this part is actually very easy) “set the contact’s email address to that value” (this part I can’t figure out). Same with the person’s name. If I have their name, I also have their email (in other words, for people on my mailing list already where I have all that info collected).

What I was able to do so far is: collect the URL parameters, branch based on the values of those, use the URL parameters OR the question responses for email or name in a question (via the @ recall). 

The farthest I can get is responses with email as a hidden field while the actual email address is left empty.

1 reply

Phoebe VA
Community Team
Forum|alt.badge.img+5
  • Community Team
  • March 31, 2026

Hi ​@MsInput,

 

Good question!

 

You can avoid asking questions for the information you already have. Below is an example I created, if I don’t know the email and name of the respondent, I want them to start with question 1. If I do know the email and name of the respondent, I want them to start with question 3. I set the logic like the screenshot below.

 

If you don’t know the respondent’s email or name, the URL parameters will contain the xxxxx string for email and name in the form’s URL. So you can set the logic that if the URL parameter email and name is equal to xxxxx, then that means you don’t know their email and name, then you can skip them to the question to ask for their email address and name. Then set the logic rule All other cases (meaning you do know their email and name) to go to a question past the email and name questions.

I hope this makes sense and let us know if you have any other questions.