captcha is validated when the form submits.
What you are trying to do is built in. It is built into the validated entries bindings on the bindings panel
the validatied entries are created when the form fails validation.
it is created to hold the form values that passed validation.
if you bind the initial values of the form fields to the validated entries bindings, they will retain the values.