Hi John,
The solution to your request is complicated because you are fundamentally mixing asynchronous , and synchronous things here. And in short, the effect you're looking for is not gonna be easy to do.
Ironically the effect is easier in the WebBuilder app precisely because that's "all synchronous".
At it's core, the problem is that you can only pass html, not JavaScript, back to the page when you're doing an async update. If you could pass back JavaScript then you'd be ok. Alternatively you need to do the validation on the client-side, and then use JavaScript to click the button.
I'm not sure what your timing requirements are for this feature, but I'll add it to the list for NetTalk 5.
Cheers
Bruce