Skip to main content
Best answer

Check Whether Field Has Data

  • March 29, 2023
  • 3 replies
  • 1502 views

How can I check whether a particular field contains data or not, using a formula?

I’m processing form submissions from Google Forms in my Zap. I need to check whether one of two fields has any data and set a checkbox in a Notion page in a later step, based on the result.

I’ve tried adding a Formatter step with a text input and a formula OR(NOT(ISBLANK([field 1)), NOT(ISBLANK([field 2]))) but that doesn’t give me the correct result.

I’d appreciate any pointers!

Best answer by SamB

Hi @alexs, great question! 🙂

You’re super close on this, it just looks like you need to wrap the selected Google Forms fields in quote (“”). Here’s an example of what I mean:
3625118127dcf6ca097daaf425a02072.png
Then it should return the value of false if either of those fields are blank, and true if either has a value. 

Can you try adding those quotes and let us know if that sorts it?

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • Answer
  • March 29, 2023

Hi @alexs, great question! 🙂

You’re super close on this, it just looks like you need to wrap the selected Google Forms fields in quote (“”). Here’s an example of what I mean:
3625118127dcf6ca097daaf425a02072.png
Then it should return the value of false if either of those fields are blank, and true if either has a value. 

Can you try adding those quotes and let us know if that sorts it?


  • Author
  • Beginner
  • March 29, 2023

Hi @SamB thanks for this, I’ll need to do a bit more testing to be sure but it looks like that works 🙌


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • March 29, 2023

Glad to hear it, @alexs! I’m so pleased that seems to have done the trick.

Happy Zapping! 😄⚡🎉