Thank you John.
It seems to fall down, as NoahY has pointed out, on the point that it works by sending data to the server. Yet, Question2Answer cannot handle it without more work. Again, as NoahY has pointed out, handling incomplete data is fraught with dangers.
My conclusion was that it was not a good idea to pursue this. Subsequently, I found a better solution, which I will add as an answer.