1
0
-1

Can the error message presented when an incorrect answer is provided when resuming a saved form be modified? 

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Yes you can.

      In the Form Resume Button button, which can be found in the save challenge Dialog Navigation Bar.

      A method called Form.resumeForm is used. This returns a promise.

      By default there is a catch on the end of this to handle any errors.

      You can modify this do present anything you want.

      Form.resumeForm(item.$$parent.properties.validationRef, item.properties.trackingCodeField, item.properties.challengeAnswerField).catch(function() {
      alert("Custom error message"); // an alert
      data.showTextDisplayErrorMsg = true // Maybe show a text display?
      });
        CommentAdd your comment...