Sample HTML/js UI code to validate results of forms processing request