Description
When a field officer have entered text into a text question (or when text has been passed into a question from the drill down), this message appears when the field officer attempts to move onto the next screen.
Cause
This is a bug that existed in versions of TaroWorks up to 2.27.x and is resolved in our TaroWorks 3.0 release. If a text question has been mapped to an Id Field (Name of records, Text Unique, Text External ID, etc). TaroWorks will limited the maximum length of answers to 50 characters, when Salesforce would allow for more.
Solution
The best solution is to upgrade to TaroWorks version 3.0 or later, as this bug is resolved in that version.
The following workaround can also be used:
- Go to the Forms Tab.
- Find the record for the form for which the error was produced.
- In the Actions column, select the More Actions drop-down and select Clone. A new copy of the form will result.
- For the cloned form, in the Actions column, select the More Actions drop-down list and select Edit XForm.
- Enter Ctrl+F to search for the following: jr:constraint="regex(.,'^\w\W{0,50}$')" jr:constraintMsg="Invalid response: the response exceeds 50 characters."
- You may either remove the constraint or change the both instances of 50 to the actual limit of the field in Salesforce. For a Name field this would be 80 characters. For an External ID field this would normally be 255 characters.
- Click Save.
- Immediately publish the form as normal. If you have opened the form for editing you will need to repeat the above process again.
Please contact TaroWorks Support if the above steps did not resolve your issue.
Comments
0 comments
Please sign in to leave a comment.