Hello,
I've designed a form that comprises two pages. The logic for each page is as follows: If question 1 is left empty, the first page remains enabled; however, when question 1 is filled, first page is disabled and the second page becomes visible.
We've encountered an issue where, during the form-filling process, if we inadvertently fill out question 1 first, the entire page becomes disabled, preventing us from filling out other questions. Additionally, the second page becomes visible prematurely.
Is there a way to ensure this logic functions correctly both during the initial completion of the form and when editing it later?
The Json for the form is -
JSON{
"title": "Role form",
"description": "Enter a form description",
"pages": [
{
"name": "page1",
"elements": [
{
"type": "signaturepad",
"name": "question1",
"title": "Signature"
},
{
"type": "text",
"name": "question2",
"title": "Your name"
},
{
"type": "text",
"name": "question5",
"title": "Date",
"inputType": "date"
}
],
"enableIf": "{question1} empty"
},
{
"name": "page2",
"elements": [
{
"type": "text",
"name": "question3",
"title": "Where do you work?"
},
{
"type": "text",
"name": "question4",
"title": "What is your role?"
}
],
"visibleIf": "{question1} notempty"
}
]
}