Hello
I have a form with:
[QUOTE]
– not submit button but with an image instead of it with an <a href= “javascript:validateform()”>
– no action
– an OnSubmit=validateform()
This is working but if I press Enter key this made a relod of page and jump the validating…
Maybe I must use a window.onLoad just like this
[QUOTE]
window.onload=function() {
document.getElementsByTagName(‘registration’)0].onsubmit=validateForm;
}
But it is not working… maybe i have to put the form action or maybe i have to check the Dreamwevaer code (in the page there is some code by dreamweaver to insert into the DB after submit…)
I’ll check it later, if you have some suggestions I’ll apreciate it.
thanks