Hi,
What is this "NewImageVerify"? Is it different than ver1.04?
--tp
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
I cannot get NewImageVerify to work in IE8, Firefox 3.5, or Safari 4.02.
It works fine in IE7.
The script is running but the image is not refreshing.
Hi,
What is this "NewImageVerify"? Is it different than ver1.04?
--tp
Hi,
OK, I just re-downloaded the package from here.
I tested the "New image" button (that's the refresh) and it works fine in FF2, FF3, FF3.5, IE6, IE7, Saf4, Chrome 1.0.154.
I think that's pretty conclusive.
Have you downloaded the right stuff?
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Hi again,
BTW, you know you have to have JavaScript enabled in the browser for the button to work?
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Yes, I have these files. The javascript runs (i.e. it counts the retries) but it does not refresh the image in IE8, Safari 4.02, or FF 3.5.
I do not see the src changing in my browser. Should I?
Here is the javascript from my page.
<script type="text/javascript">
var nReload = 5;
function NewVerifyImage()
{
if (nReload <= 2)
if (nReload <= 0)
{
alert("Sorry, too many reloads.");
return;
}
else
alert("Only " + nReload + " more reloads are allowed");
nReload--;
//
// This code now works in both IE and FireFox
//
var e_img;
e_img = document.getElementById("vimg");
if (e_img)
//
// FireFox attempts to "optimize" by not reloading
// the image if the URL value doesn't actually change.
// So, we make it change by adding a different
// count parameter for each reload.
//
e_img.setAttribute("src",e_img.src+'?count='+nReload);
}
// ]]>
</script>
Here is the button code:
<button onclick="NewVerifyImage(); return false;">
Click for New image
</button>
Yes. Javascript is enabled. Like I said I get the warnings when I get down to two more tries left but the image never changes.
Hi,
No, the HTML source will not change.
Did you call the image field "vimg"?
Have you actually tried the downloaded sample?
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Well, I am dumbfounded! The sample htm works but my htm does not work. I cannot find any differences in the two. My form is at:
http://www.houston-panhellenic.org/r...ignup_form.htm
What have I done wrong?
Thanks for the help.
Hi,
That form seems to be working fine.
Did you figure out what you did wrong?
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Yes, I did finally figure out what was going on. The image object was named vimg but it did not have an id. Once I made the id=vimg everything worked.
Interesting that IE7 worked without the id being set.
Thanks for your help.
Formmail is great!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks