I am wondering how to properly use CSS in order to display an image based on valid form feedback?
Essentially I want to display a custom green check mark image or red X image on each form input line based on valid/invalid data, respectively. Is there a way to have this image appear inside the input box, right-aligned?
Thank you!
Update: Adding the image was as simple as including it within the "input:invalid" area of my css page. Now I just need to know how to have it only appear once and preferably right-aligned.
divtag as the wrapper, andposition:absolute.