Question:
Why is my Wix Studio form not triggering the automation when submitted using Velo code, even though everything is correctly configured?
Product:
Wix Studio Editor – Velo, Wix Forms, Automations
What am I trying to achieve:
I’ve built a quiz page in Wix Studio where users enter their name and email, take a 30-question quiz, and see their score. I want to:
- Save their quiz result (name, email, score, date) to a collection.
- Trigger an automation that sends them a confirmation email using Wix Automations.
All quiz logic and field values are handled via Velo code. I’m using a Wix Studio form connected to a collection called QuizResults
. When the quiz is complete, I use:
js
$w("#quizForm").setFieldValue("name", name);
$w("#quizForm").setFieldValue("email_07b6", email);
$w("#quizForm").setFieldValue("score", scoreText);
$w("#quizForm").setFieldValue("date_9bac", date);
$w("#quizForm").submit();
The form has:
- ID:
quizForm
- Collection:
QuizResults
- Fields:
name
,email_07b6
,score
,date_9bac
- Automation: active, triggers when form is submitted, sends email
What have I already tried:
- Verified form ID and field keys (all 100% correct)
- Confirmed fields are inside the form container
- Automation is published and active
- Tested automation with manual form submission (works)
- Verified collection permissions (form submissions allowed)
- Tried hidden and visible fields
- Tested in multiple browsers
- No console errors, no activity logged in Automation panel
- Form does not appear in Inbox or trigger automation
Additional information:
- I’m using the Wix Studio Editor
- The form was added using the “Add → Forms” feature
- Fields
inputName
andinputEmail
are outside the form (for user interaction), but values are passed into the form using.setFieldValue()
- This has been tested and debugged extensively
- It’s unclear whether
.submit()
in Velo is fully supported in Wix Studio forms or integrated with Automations
I’d appreciate any guidance from Wix engineers or the community on whether this flow is currently supported and what the recommended approach is.
Thanks so much in advance.