Zapier form dynamic inputFields manipulation










0















I'd like to manipulate the input fields of a trigger form dynamically:



  • I have a trigger 'hidden' with a combo-box in a form

  • Each time I update the combo, it should add one or more combo-boxes in the same form depending on the value

I couldn't find any way to access the operation.inputFields somewhere for doing an update on this list dynamically, whether via the bundle or else...



Here is the small example: https://github.com/nuxeo-sandbox/nuxeo-zapier/blob/spikes-NXP-26085-zapier/nuxeo-zapier-app/triggers/project.js#L8-L16



Thank you for your help!
Vlad










share|improve this question
























  • Are you using Zapier CLI for your APP?

    – Kishor Patidar
    Nov 16 '18 at 11:02











  • Yes. I updated the description

    – Vlad
    Nov 16 '18 at 15:35















0















I'd like to manipulate the input fields of a trigger form dynamically:



  • I have a trigger 'hidden' with a combo-box in a form

  • Each time I update the combo, it should add one or more combo-boxes in the same form depending on the value

I couldn't find any way to access the operation.inputFields somewhere for doing an update on this list dynamically, whether via the bundle or else...



Here is the small example: https://github.com/nuxeo-sandbox/nuxeo-zapier/blob/spikes-NXP-26085-zapier/nuxeo-zapier-app/triggers/project.js#L8-L16



Thank you for your help!
Vlad










share|improve this question
























  • Are you using Zapier CLI for your APP?

    – Kishor Patidar
    Nov 16 '18 at 11:02











  • Yes. I updated the description

    – Vlad
    Nov 16 '18 at 15:35













0












0








0








I'd like to manipulate the input fields of a trigger form dynamically:



  • I have a trigger 'hidden' with a combo-box in a form

  • Each time I update the combo, it should add one or more combo-boxes in the same form depending on the value

I couldn't find any way to access the operation.inputFields somewhere for doing an update on this list dynamically, whether via the bundle or else...



Here is the small example: https://github.com/nuxeo-sandbox/nuxeo-zapier/blob/spikes-NXP-26085-zapier/nuxeo-zapier-app/triggers/project.js#L8-L16



Thank you for your help!
Vlad










share|improve this question
















I'd like to manipulate the input fields of a trigger form dynamically:



  • I have a trigger 'hidden' with a combo-box in a form

  • Each time I update the combo, it should add one or more combo-boxes in the same form depending on the value

I couldn't find any way to access the operation.inputFields somewhere for doing an update on this list dynamically, whether via the bundle or else...



Here is the small example: https://github.com/nuxeo-sandbox/nuxeo-zapier/blob/spikes-NXP-26085-zapier/nuxeo-zapier-app/triggers/project.js#L8-L16



Thank you for your help!
Vlad







zapier zapier-cli






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 16 '18 at 15:35







Vlad

















asked Nov 15 '18 at 19:34









VladVlad

687




687












  • Are you using Zapier CLI for your APP?

    – Kishor Patidar
    Nov 16 '18 at 11:02











  • Yes. I updated the description

    – Vlad
    Nov 16 '18 at 15:35

















  • Are you using Zapier CLI for your APP?

    – Kishor Patidar
    Nov 16 '18 at 11:02











  • Yes. I updated the description

    – Vlad
    Nov 16 '18 at 15:35
















Are you using Zapier CLI for your APP?

– Kishor Patidar
Nov 16 '18 at 11:02





Are you using Zapier CLI for your APP?

– Kishor Patidar
Nov 16 '18 at 11:02













Yes. I updated the description

– Vlad
Nov 16 '18 at 15:35





Yes. I updated the description

– Vlad
Nov 16 '18 at 15:35












1 Answer
1






active

oldest

votes


















1














David here, from the Zapier Platform team.



It sounds like you're looking for Custom Fields: https://github.com/zapier/zapier-platform-cli#customdynamic-fields



In addition to a static list of input fields, you can provide a function that will run and provide a dynamic set of fields. It's how we get inputs for each column in a google sheet:





Is that what you're asking? Modifying the inputFields array at runtime probably doesn't do what you want.






share|improve this answer























  • David, I'm sorry for the spam, indeed I have missed the "recipes" example in your link. I can totally create on the fly some fields. Thank you very much!

    – Vlad
    Nov 19 '18 at 16:19











  • No problem! Glad you got it working

    – xavdid
    Nov 19 '18 at 17:43










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53326757%2fzapier-form-dynamic-inputfields-manipulation%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














David here, from the Zapier Platform team.



It sounds like you're looking for Custom Fields: https://github.com/zapier/zapier-platform-cli#customdynamic-fields



In addition to a static list of input fields, you can provide a function that will run and provide a dynamic set of fields. It's how we get inputs for each column in a google sheet:





Is that what you're asking? Modifying the inputFields array at runtime probably doesn't do what you want.






share|improve this answer























  • David, I'm sorry for the spam, indeed I have missed the "recipes" example in your link. I can totally create on the fly some fields. Thank you very much!

    – Vlad
    Nov 19 '18 at 16:19











  • No problem! Glad you got it working

    – xavdid
    Nov 19 '18 at 17:43















1














David here, from the Zapier Platform team.



It sounds like you're looking for Custom Fields: https://github.com/zapier/zapier-platform-cli#customdynamic-fields



In addition to a static list of input fields, you can provide a function that will run and provide a dynamic set of fields. It's how we get inputs for each column in a google sheet:





Is that what you're asking? Modifying the inputFields array at runtime probably doesn't do what you want.






share|improve this answer























  • David, I'm sorry for the spam, indeed I have missed the "recipes" example in your link. I can totally create on the fly some fields. Thank you very much!

    – Vlad
    Nov 19 '18 at 16:19











  • No problem! Glad you got it working

    – xavdid
    Nov 19 '18 at 17:43













1












1








1







David here, from the Zapier Platform team.



It sounds like you're looking for Custom Fields: https://github.com/zapier/zapier-platform-cli#customdynamic-fields



In addition to a static list of input fields, you can provide a function that will run and provide a dynamic set of fields. It's how we get inputs for each column in a google sheet:





Is that what you're asking? Modifying the inputFields array at runtime probably doesn't do what you want.






share|improve this answer













David here, from the Zapier Platform team.



It sounds like you're looking for Custom Fields: https://github.com/zapier/zapier-platform-cli#customdynamic-fields



In addition to a static list of input fields, you can provide a function that will run and provide a dynamic set of fields. It's how we get inputs for each column in a google sheet:





Is that what you're asking? Modifying the inputFields array at runtime probably doesn't do what you want.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 16 '18 at 22:33









xavdidxavdid

2,61521125




2,61521125












  • David, I'm sorry for the spam, indeed I have missed the "recipes" example in your link. I can totally create on the fly some fields. Thank you very much!

    – Vlad
    Nov 19 '18 at 16:19











  • No problem! Glad you got it working

    – xavdid
    Nov 19 '18 at 17:43

















  • David, I'm sorry for the spam, indeed I have missed the "recipes" example in your link. I can totally create on the fly some fields. Thank you very much!

    – Vlad
    Nov 19 '18 at 16:19











  • No problem! Glad you got it working

    – xavdid
    Nov 19 '18 at 17:43
















David, I'm sorry for the spam, indeed I have missed the "recipes" example in your link. I can totally create on the fly some fields. Thank you very much!

– Vlad
Nov 19 '18 at 16:19





David, I'm sorry for the spam, indeed I have missed the "recipes" example in your link. I can totally create on the fly some fields. Thank you very much!

– Vlad
Nov 19 '18 at 16:19













No problem! Glad you got it working

– xavdid
Nov 19 '18 at 17:43





No problem! Glad you got it working

– xavdid
Nov 19 '18 at 17:43



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53326757%2fzapier-form-dynamic-inputfields-manipulation%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

ReactJS Fetched API data displays live - need Data displayed static

Evgeni Malkin