Normalize Field Name
Brian Element
Forums
I just posted a snippet that will take a variable and change it into the format of an IDEA field name. As IDEA will automatically change a fieldname to uppercase and replace spaces and special characters with an underscore you need to do this in your script so that you have access to the proper field name, this snippet should help you out.