Retrieve Association After Validation Failure

Hello, I use forms with a little jquery of ajax to define values like the thumbnail of an article for example. Once the user chooses his thumbnail, the thumbnai_id value changes and I display the thumbnail url. I would like to recover the association after the validation failure in order to display again the vignette without pass by jquery.

Is it possible ?

Thank you