“formname.fieldname.value” is an IE hack that never should have worked anywhere. Don't use it. Forms are not supposed to be registered as global variables (window. members), and there are lots of compatibility problems with it, that may have led your script to ‘stop’ working in some circumstances.
Given:
<form name="foo" method="get" action="/"> ...
<input name="bar" type="text" value="" />
The correct way to access the input with old-school DOM Level 0 HTML methods is:
document.forms.foo.elements.bar
This works across browsers going back to prehistoric Netscape 2 and has a much smaller chance of provoking a name-clash, by using the ‘document.forms’ array instead of the global ‘window’ (an object that has many and increasing members whose names you might accidentally choose).
However these days it is probably easiest to use ID, and DOM Level 1 Core's getElementById method:
<form method="get" action="/"> ...
<input name="bar" type="text" value="" id="field-bar" />
document.getElementById('field-bar')
which is simpler and has no clashes with members of the window, document or form objects.