Skip to main content

Hello everyone,

I’m attempting to create a field to determine whether something is built with the CLI or the web interface via an input field.

{         key: 'isWeb',         computed: true,         type: 'boolean',

        required: false,

        default: ‘yes’       },

I would like for it to be invisible however the computed property doesn’t seem to be working.

How would I create an invisible input field that is already populated?

Hi @DL_CharlesM I think that this one is going to be a bit too tricky for us to solve in the Community so I’ve sent this post as a ticket to our Support Team. Someone will be in touch with you via email as soon as possible. 

 

Thanks!


As usual, thank you for the swift response @danvers I look forward to hearing from them.:smiley_cat:


Hi @DL_CharlesM - I saw that you received a response from Andrew on Zapier Support. Cheers!


I just wanted to share the response from our Support Team in case someone has a similar question:

 

This depends a bit on your specific setup, but the general idea is that you'll need to:

1. Use either OAuth2 or Session Auth
2. Define the computed field in the auth definition (sounds like you've done this already)
3. Return a value for that field from the auth method (oauth2Config.getAccessToken or sessionConfig.perform)

 

The key point being that an Auth step is needed for this work.