Depending on how your XFA form was created, this might, or might not work. Is this a form you've created, your chances of getting this to work are much better than if you would be using e.g. a government created document.
As to Gilad's comment: VB/VBA will change the case of your variable names, so you may be typing "rawValue", but after VB reformats it, you might be ending up with "rawvalue". This is usually not a problem, the JSO bridge is smart enough to deal with that.
Both styles should work - what is happening with your form? Are you getting errors in VB?
Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
http://www.khkonsulting.com