Thanks for the article, it’s helping me out on a project.
Justine Matsalla

Hi Justine, I’m delighted to hear my blog’s been useful to someone out there, and great catch — not sure what I was thinking there, I blame the fact that I was writing this late at night. 😳 I’ve updated the example code with my solution, which was to simply remove the offending lines, as setting “error” to false there serves no purpose and can only cause problems.