unwilling-turquoise•15mo ago
Custom Widgets & Effects (Beta) Feature - Form - Issues
Hello! So I am testing out the Custom Widget beta feature and integrated a custom form within the chat interface to collect user details seamlessly in one message.
However, when the form has appeared within the conversation, users can still type a message which will automatically skip the form submission step at continue to the conversation. How do I control / stop the user input at this point in order to only continue the conversation once the form details have been inputted and submitted?
Also, how do I edit the form layout so it looks better and more appealing?
Finally, which isn't included in the loom, where does the form get submitted to, so I can check the details inputted?
Here is a quick loom running over x3 issues I am facing with the form + an additional want of making it look more appealing.
https://www.loom.com/share/f9b3f10b266f4e65b8952afc2ad60896?sid=a4ce9fb6-e86b-45db-a374-fdfde3d6475e
Thanks!
12 Replies
rival-black•15mo ago
Hey man, I have the solution for you. I've just upgraded this forms extension to block user input.
rival-black•15mo ago
rival-black•15mo ago
To retrieve the information on canvas, you need to set a JavaScript step with (remember to create a variable).
Also, I highly recommend you check out this vf.file as it contains a lot of examples of extensions.
https://github.com/voiceflow-gallagan/vf-extensions-demo/blob/main/Chat_Widget_Extensions_DEMO-2024-03-07_01-11.vf
metropolitan-bronze•15mo ago
This is the form extension?
@randompenna Can you show me the flow you used to do that
Been trying to figure that out
rival-black•15mo ago
You can download this template to better understand everything. There’s also a repo for that
rival-black•15mo ago
metropolitan-bronze•15mo ago
Thanks
Have you also figured out the other extensions?
Like confetti and such
Well actually have you figure out the Map extension @randompenna
rival-black•15mo ago
Yeah, I have all the extensions hosted here https://cdn.jsdelivr.net/gh/RandomPenna/voiceflow@main/customextensions.js
metropolitan-bronze•15mo ago
how do I differentiate them
and how exactly do I execute a function from a custom action
rival-black•15mo ago
You need to name your custom action with the trace type of your extension
trace.type === "ext_multiselect"
ext_multiselect in the custom action
rival-black•15mo ago

metropolitan-bronze•15mo ago
ah i see