Problems with IE and Mootools

CRES 18 Aug, 2010
Hello,

I have forms where I employ validation, but am receiving the following error when opening the forms in IE:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
Timestamp: Wed, 18 Aug 2010 20:11:05 UTC


Message: LiveValidation::initialize - No element with reference or id of '' exists!
Line: 81
Char: 24
Code: 0
URI: http://www.colvinrunpto.org/components/com_chronocontact/js/livevalidation_standalone.js


Message: Object doesn't support this property or method
Line: 59
Char: 102
Code: 0
URI: http://www.colvinrunpto.org/media/system/js/mootools.js

I am not using jQuery. The form validation works properly in Safari, Chrome and Firefox.

I appreciate any assistance you could lend me.

Thanks,
Marty
GreyHead 19 Aug, 2010
Hi Marty,

This error seems to happen when one of the inputs doesn't have an id attribute and LiveValidtion can't attach the Validation function to it. It may not be an input that you are trying to validate as LiveValidation goes through the whole form (I found it once on the submit button).

Bob
CRES 19 Aug, 2010
Thanks for the direction. I'll start searching now.

Marty
CRES 19 Aug, 2010
Hi Bob,

I've gone through my form and verified that there is an id associated w/each attribute. I no longer get the livevalidation web browser error, but still receive the mootools error,

Webpage error details:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
Timestamp: Thu, 19 Aug 2010 13:15:25 UTC

Message: Object expected
Line: 58
Char: 2
Code: 0
URI: https://www.colvinrunpto.org/index.php?option=com_chronocontact&chronoformname=New_Membership

Message: Object expected
Line: 56
Char: 5
Code: 0
URI: https://www.colvinrunpto.org/index.php?option=com_chronocontact&chronoformname=New_Membership

Message: Object doesn't support this property or method
Line: 59
Char: 102
Code: 0
URI: https://www.colvinrunpto.org/media/system/js/mootools.js

My template menu is on 'suckerfish'.

Where else should I be checking?

Thanks,
Marty
CRES 19 Aug, 2010
It appears that the error ONLY happens when the form is posted as https://, which I require for security reasons.

Any suggestions?

Thanks,
Marty
CRES 19 Aug, 2010
Turning Compatibility View on solves the problem for IE7. The form loads w/no errors and the validation works awesomely. Still having issues w/IE8, though.

Slowly but surely getting there,
Marty
CRES 19 Aug, 2010
Whereas in IE7 there are no wepage wrrors loading the the page securely in Compatability View, this is not the case in IE8. I received the EXACT same previous webpage errors loading the form securely in IE8 whether the browser is in Compatibility View or not.

It there any thought to how I can fix this issue?

Thanks,
Marty
GreyHead 19 Aug, 2010
Hi CRES,

No intant solutions I'm afraid. The problem seems to be linked to the two elementExtend() calls. The function is correctly defined in the javalidation2.js file so I think it must be something to do with the page load order :-(

Bob
CRES 19 Aug, 2010
Bob,
Thanks for letting me know.

Marty
This topic is locked and no more replies can be posted.