Any help appreciated!! Thanks!!
Exactly how are you populating the form by "pulling data from an outside source" and setting the field value? Note that the code Mandeep5062 shows might do something with an XFA form, it isn't correct for a form created in Acrobat.
You shouldn't have to use a script at all, which is why I suspect it has something to do with the data or how it is getting imported, most likely the latter.