Forums

This topic is locked

error on page

Posted 23 Sep 2002 14:55:28
1
has voted
23 Sep 2002 14:55:28 Dave Clarke posted:
I have a form for updating a record, it works fine, however if i use the "show if recordset is not empty" behaviour to hide the form if there is no record to update then i get this error on the page

document.form1.mailaddy is null or not an object

mailaddy is one of the textfields in the form

any ideas????

Replies

Replied 26 Sep 2002 15:22:33
26 Sep 2002 15:22:33 Marcellino Bommezijn replied:
This is a javascript error i assume ? Maybe when your field is hided, there is some javascript that refers to this field and generates the error (?)
Replied 26 Sep 2002 16:13:34
26 Sep 2002 16:13:34 Dave Clarke replied:
The page is asp/vbscript, the error is generated in IE (shows the little warning triangle in bottom left corner of IE and tells you what it is when you double click the triangle.)

I have discovered that the error only occurs if i hide the entire form, if i hide the table that is within the form, then i dont get the error, so thats what i've done.

Reply to this topic