PDA

View Full Version : Error: 'document.adminForm.task' is null or not an object


RyanM
22.06.2004, 07:36
Hi, I have been building on the functionality of MAMBO with a couple of additional components and hacks. The main problem that I have come up with is when building my back end administrator pages for the components I have had problems using the mosmenubar functionality. If I click on new I get the following error:
Line 309
Error: 'document.adminForm.task' is null or not an object

Now I have a form called adminForm and a hidden form variable called task, so whats the problem?

Mos 4.5.1.08
I.E 6.0


Thanks in advance

Ryan.

X-F4CT0R
22.06.2004, 15:52
You are using the function improperly, and that's why you are getting that error. The best thing to do is look at the components in the package and duplicate off of them.

Or you also might be stating the object at all. :cool:

RyanM
05.07.2004, 00:56
Thanks, it was a matter of trial and error copying and pasting various pieces of code from other modules untill I found the one that counted.