Entry
How do I stop the form from submitting when user single clicks on page in MAC IE?
Nov 22nd, 2002 14:06
Jason Horsley,
This is more description for the question: (MAC IE 5.1)
I have a form with three radio buttons and a text field. See below.
- Item 1
- Item 2
- Item 3
name : |________________|
When I first come to the page the first item is selected and clicking
on the page does not do anything.
When I select a different option a javascript function gets called that
changes the form action. But another side effect seems to take place,
now when the user clicks the page the form gets submitted.
I have tried catching the form submittal with onSubmit but it does not
get called.
The main problem is that the form is getting submitted without the user
filling in the name of the new item and this is causing problems on the
next page.