CCALI / a2jauthor

CALI A2JAuthor document automation authoring and viewing platform
https://www.a2jauthor.org
Other
4 stars 1 forks source link

Add Page validation for GOTO Statements #146

Closed JessicaFrank closed 2 years ago

JessicaFrank commented 3 years ago

Author request to add GOTO statement page name validation. This would be similar to how variable names are validated and an error is shown if the var doesn't exist.

Currently, the only way to know that your GOTO fails for invalid page name is to run the interview in the viewer/preview and get a Page doesn't exist error.

Similar to https://github.com/CCALI/CAJA/issues/164

janebitovi commented 2 years ago

Errors are reported/inserted for bad GOTO statements now once the code ships goto-check-advanced-logic

Further, per slack convo, suggestions bar has been added to logic fields that detect when user is typing a goto or var reference: advanced-logic