Hi,
I’ve created simple form submission with consist of Logic jump when user has type something in the form if
- correct → then go to next page
- incorrect → go back to input again
When I check the preview, everything seems working just fine. All logics work correct as expect. But when I use api request to https://api.typeform.com/forms/{formId} it seems not what I expect. The logic field is incorrect. Please see details below
here is logic portion,
{
"logic": [
{
"type": "field",
"ref": "captcha",
"actions": [
{
"action": "jump",
"details": {
"to": {
"type": "field",
"value": "captcha_incorrect_loop"
}
},
"condition": {
"op": "always",
"vars": []
}
}
]
},
{
"type": "field",
"ref": "captcha_incorrect_loop",
"actions": [
{
"action": "jump",
"details": {
"to": {
"type": "field",
"value": "captcha"
}
},
"condition": {
"op": "always",
"vars": []
}
}
]
}
]
}
here is the GUI

Logic jump setup

What do I missed? Please clarify
Thank in advanced
Teerapat