Remove response auto-delete on custom validation errors | XM Community
Skip to main content
Solved

Remove response auto-delete on custom validation errors

  • August 14, 2018
  • 3 replies
  • 151 views

RESOLVED! Had some JavaScript that reset the values to blank upon page load Hi all, Is there a way to remove the auto-delete when a user inputs a response that triggers validation errors? This is on a constant sum matrix table. The error appears, however it removes the user's response (in both the dependent and the original question), making it difficult to see where they went wrong. Secondly, is there a way to highlight the box where the error took place? ! Thank you! Rose

Best answer by rose_b

thanks @mattyb513 - wasn't sure the best way to do it! Answer - JavaScript was causing the error as we had it so that it cleared the entry boxes on load. We've taken off the JS and now it works. Thanks everyone! Rose

3 replies

PeeyushBansal
Level 6 ●●●●●●
Forum|alt.badge.img+43
  • Level 6 ●●●●●●
  • 1169 replies
  • August 14, 2018
Is this already resolved.

mattyb513
Level 4 ●●●●
Forum|alt.badge.img+6
  • Level 4 ●●●●
  • 163 replies
  • August 15, 2018
You should just add a post with your answer (that JavaScript was causing this) and then mark it as the answer so it will be removed from the "Unanswered" category

  • Author
  • 4 replies
  • Answer
  • August 15, 2018
thanks @mattyb513 - wasn't sure the best way to do it! Answer - JavaScript was causing the error as we had it so that it cleared the entry boxes on load. We've taken off the JS and now it works. Thanks everyone! Rose