01-25-2012 05:58 AM
The select case statement forces the fields to upper case. VBScript was not case sensitive; JavaScript is.
Change:
case "Custom_Test":
range.InsertAfter("my Test");
break;
To:
case "CUSTOM_TEST":
range.InsertAfter("my Test");
break;
Thanks
Mike
01-25-2012 06:49 AM
Thank you for your help! That's it!
01-25-2012 07:04 AM
Glad to help.
Thanks
Mike
01-26-2012 02:42 AM
I edited the source script directly and not added my own one. I think this should not do the trick but this is what is different from your approach.
Maybe you can post the jscript function (from the compiled js file) so we may see the problem.
Alexander
01-26-2012 02:49 AM
Hi Alexander,
spelling my Custom Fields with all uppercase letters solved my problem.
Thank you for your assistance anyway.
08-05-2014 10:31 AM
For those trying to override the HandleOnCustomFieldName event in the Web client for 8.1, please see the following post:
Thanks
Mike