Skip to main content
Best answer

How to disable dynamic filed

  • September 7, 2022
  • 2 replies
  • 88 views

I’m working on a Zapier Integration and wanted to disable dynamic fields when previous one is empty like google sheet does

 

As of now I’m been looking around Zapier UI and CLI documentation but did not find the answear that I’m looking for, by using altersDynamicFields it only show error message on my end like the screenshot below

 

Best answer by shalgrimBest answer by shalgrim

Hi @haind

I don’t believe you’re able to disable fields like that in Google Sheets, which is one of a few integrations we have that have what you might call special powers.

I think what you’ll want to do is set your inputFields to be a function that only adds the Funnel Step field if something is filled in in the Mail List field. You’ll want to make sure altersDynamicFields is set to true on the Mail List field so that when it’s changed it will re-compute inputFields.

If you set it up that way then Funnel Step won’t be visible until something is selected in Mail List. Does that make sense? Let me know how that goes for you!

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

shalgrim
Forum|alt.badge.img+8
  • Zapier Staff
  • 406 replies
  • Answer
  • September 8, 2022

Hi @haind

I don’t believe you’re able to disable fields like that in Google Sheets, which is one of a few integrations we have that have what you might call special powers.

I think what you’ll want to do is set your inputFields to be a function that only adds the Funnel Step field if something is filled in in the Mail List field. You’ll want to make sure altersDynamicFields is set to true on the Mail List field so that when it’s changed it will re-compute inputFields.

If you set it up that way then Funnel Step won’t be visible until something is selected in Mail List. Does that make sense? Let me know how that goes for you!


  • Author
  • Beginner
  • 1 reply
  • September 8, 2022

@shalgrim 

Thank that make whole lot of sense to me, I did try out dynamic fields this morning but I don’t think that it is the best way to deal with my situation, might stick with altersDynamicFields for now