suttercain Posted June 21, 2007 Share Posted June 21, 2007 Hey Everyone, I am using AJAX to validate a form. I based this form on the code found at this tutorial: http://particletree.com/features/degradable-ajax-form-validation/ The form has three separate files: index.php (which is the form) formvalidation.php validate.js This is my issue: When I fill out a form field and move to the next the text next to that form field changes from "Required" to "Thank You". I instead would like to have two images. A unchecked box and then a checked box (images, not the form checkboxes). Is there any way to do this? I would post my code but it is longer than the example link I posted above because I have included a lot more for fields. So please look at the tutorial and see if you know a way to replace the text with an image. Thanks. SC Link to comment https://forums.phpfreaks.com/topic/56560-ajax-form-validation-echoing-an-image-with-php-through-javascript/ Share on other sites More sharing options...
suttercain Posted June 21, 2007 Author Share Posted June 21, 2007 I got it. Link to comment https://forums.phpfreaks.com/topic/56560-ajax-form-validation-echoing-an-image-with-php-through-javascript/#findComment-279361 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.