I too have a similar problem that seems browser dependent.  My app works fine
on V4 browsers and Netscape V3 but not on IEV3.02.  Unfortunately IE3 is the
predominant browser for my user base!  

On IE3 my submit button just refreshes the page and in the process loses all
the associated session variables which are used in the onBeforeDisplayEvent for
the page.  My application has a pure HTML GUI and uses the ndCGI.exe interface
to a Netscape Enterprise Server (V2.01) Web server running on NT-V4.  I've
tried your possible work-around (ie using the preceeding dummy form) but even
that did not work for me.  The <submit_button>_onWebEvent does not get called
using IE3 - it just performs the associated "FORM ACTION" and reloads the page.

I should also say that this problem does not exist on every page of my
application but I see nothing special about this page.  The page displays a
tabular list of data at the top of the page and provides some entry
fields/combo boxes at the bottom with a "New" button that facilitates adding a
record to the displayed list.  The NEW button is a "Custom" submit button and
I've added my code to insert the record and refresh the page on the
"NEW_onWebEvent".

I've also validated the HTML as V3.2 compliant using Homesite V3 in case it was
a HTML syntax problem.

So any help/ideas from ND gurus would be doubly appreciated.

Regards,
Ray
====================
Raymond Boyle 
[EMAIL PROTECTED]  
(tel) +44 171 822 6316


-----Original Message-----
From:   PERRY  HUNCHAK [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, April 28, 1999 3:29 PM
To:     [EMAIL PROTECTED]
Subject:        [ND] Form Problems (Submit button not working)

I have a simple form that has a combo box and a submit button to an external
URL.   When I press on the submit button it just reloads the page instead of
going to the URL.
   
The only way it works is if I put a dummy form before this form with just this
code.

<form method="POST" action>
</form>

This seems to make the submit button on the form which follow it work.  This
seems kinda weird to me.  Does anyone know why this is happening?


Perry Hunchak
Programmer/Analyst
Trimac Information Services
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to