Display a success image for dataset

Hey there, I am currently trying to have an image on my site display only when a submission form using a dataset is successful (when all of the fields are filled out correctly) but display a different image when the submission is missing some thing. I’ve seen this on other websites but I just don’t know how to do it can anybody help?