Introduction
Starting TaroWorks 6.5, you can now run the JavaScript code snippet on the form question to test the expected results.
- How to Test Calculation Operation on a Form Question
- How to Test Validation Operation on a Form Question
Before you begin:
- You can test dynamic operations code snippets in any question types in regular sections except the following:
- Photo
- Cascading select
- Signature
- Static Content
- GPS
- Testing in repeat sections is not supported.
- Testing TaroWorks functions (.hasAnswer, generateTWOfflineID) are not supported.
- Testing code that has the contains operator is only supported with multiselect questions with data validation.
- The Test data feature is not available on the Regex feature
- The Test data feature does not test if a question reference is displayed on a subsequent page (for Validation operation) or if a question reference is displayed on a previous page (for Calculation operation)
How to Test Dynamic Operations Calculations on a Form Question
- Add a Question and create the Calculation Dynamic Operation.
- Check Test Dynamic Operation Checkbox.
- Enter sample data to test and click Save.
- Click OK.
How to Test Validation Operation on a Form Question
- Add a Question and create the Validation Dynamic Operation.
- Check Test Dynamic Operation Checkbox.
- Enter sample data to test and click Save.
- Click OK.
Comments
0 comments
Please sign in to leave a comment.