RE: Re: how to submit a form by pressing enter - bit complicated!

2004-03-13 Thread Peter Tilbrook
That is the default HTML standard. A submit button must be that - if you want to change the look of the button use CSS. Buttons do not submit by default unless you write the code to do it (eg: _javascript_). -- Peter Tilbrook ColdFusion Applications Developer ColdGen Internet Solutions Manager,

OT: Re: how to submit a form by pressing enter - bit complicated!

2004-03-12 Thread Hugo Ahlenius
I have a related problem -- how do I make sure that pressing enter in an input box submits the form -- it doesn't seem to do that after I replaced the submit button with a button button... -- Hugo Ahlenius - Hugo AhleniusE-Mail: [EMAIL

how to submit a form by pressing enter - bit complicated!

2004-03-11 Thread cf coder
Hello Everybody, Can I just say that I've looked everywhere to find a solution to this problem and have failed. I am posting my code and would really appreciate if someone could help. I have two forms in my page each contained in a div tag. Actually the second form is called from a iframe from

RE: how to submit a form by pressing enter - bit complicated!

2004-03-11 Thread Pascal Peters
Place the code from the onClick of the image in the onSubmit of the form. form name=newcall id=newcall action=""> method=get return false; ... input type=image id=next_button name=next_button src=""> border=0 alt=Next , mouseaction_next); width=83px height=27px style=z-index:100

Re: how to submit a form by pressing enter - bit complicated!

2004-03-11 Thread cf coder
thanks so much for your reply. I removed the onClick event and added the onSubmit event and it works. Thanks again, much appreciated. cfcoder Place the code from the onClick of the image in the onSubmit of the form. form name=newcall id=newcall action=""> method=get return false; ... input