space10-community / conversational-form

Turning web forms into conversations
https://space10-community.github.io/conversational-form/
MIT License
3.8k stars 778 forks source link

Submit an input value programmatically (without button / enter) #449

Open juan-ordonez opened 2 years ago

juan-ordonez commented 2 years ago

Hello,

I am trying to implement a customer date picker in my conversational flow. I am able to hide the default cf-input, show my date picker, and transfer the inputted date back into the hidden cf-input. At this point I would like the flow to continue automatically before hiding the date picker and showing cf-input again - and this is where I'm stuck.

Is there a function I can call to proceed to the next step in the form, rather than having to manually click the input button (or press enter)? Any guidance would be appreciated :)