Universal Form Validator ASP Support Product Page


Reported 12 Mar 2010 07:44:59
has this problem
12 Mar 2010 07:44:59 Cain Goettelman posted:
Upgrading a page from 1.0.1 to 1.5.4. Have run into a few issues.
1) See error message below:
Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'ReenableJavascript'

/ssl/orderform100312.asp, line 21

2) Problem with the values for Hints and Error message being written to the variables on the page. The font size, color and background color where not written after the initial update. I had to update these with the setup window times before all values were saved.

3) Have a problem with Dreamweaver crashing after clicking OK from this windown. Running OSX 10.6.2 and DW CS4. Also had a problem getting the newest files added to the site and uploaded. I had to remove the script from the page and remove the extension. Then reinstall extension & add script back to the page.

#1 is the biggest issue - I commented out this line and things seem to be OK. Now I am troubleshooting why the tooltips and error message are not properly displaying.

Exert from code is below:
' Universal Form Validator ASP 1.5.4
dim dmxval1, DMX_validateAction
set dmxval1 = new dmxValidator
dmxval1.ScriptFolder = "../ScriptLibrary"
dmxval1.CSValidateOnChange = true
dmxval1.CSValidateOnSubmit = true
dmxval1.ReenableJavascript = true
dmxval1.UseBotCheck = true
dmxval1.ErrorFontSize = function fontsize() {
[native code]
Edited by - Cain Goettelman on 12 Mar 2010  07:49:52


Replied 12 Mar 2010 22:49:31
12 Mar 2010 22:49:31 Jerry Smith replied:
To me it sounds like not all files are updated on your site. Reenablejavascript is a new variable and it is working ok. Try reinstalling the behaviour or see if the files in scriptlibrary folder have new date, especialy: dmxValidator.asp and dmx.jquery.validate.js.
Replied 15 Mar 2010 11:40:58
15 Mar 2010 11:40:58 Miroslav Zografski replied:
Hello Cain,

Jerry have a right here. Best practice to be sure you have the right scripts in your ScriptLibrary folder - especially dmxValidator.asp - it to delete them from the folder and reapply the extension. It then will copy those files back and it will copy the correct ones.

Replied 15 Mar 2010 15:37:07
15 Mar 2010 15:37:07 Cain Goettelman replied:
Thank you for the suggestions. This worked. I had reapplied the script multiple times but I had not deleted the 2 suggested files first. Once I did this and then reapplied the script the error for Reenable Javascript was fixed.

However, now the script is allowing bots to fill out the form. Just yesterday we had 12 forms submitted by bots. I double checked we have bot checking turned on in the script:
dmxval1.UseBotCheck = true

Any suggestions for things to check for?
Replied 15 Mar 2010 17:58:34
15 Mar 2010 17:58:34 Miroslav Zografski replied:
Hi Cain,

Can you set to one of your fields - name, or info or something like that and apply to it a spam protection field validation - this checks the input in that field against a txt file with a certain set of most recently used words from spamers and bots.
That is because some bot systems can execute javascript and that is in the base of supplied bot protection in Validator.


Reply to this topic