I am trying to get a form to auto fill from a tab delimited text file when a button is clicked.
When I manually enter the data through Manage form data > Import data it accepts the data just fine so I know the file works I just want to make it so it can be run with just the button.
What am I missing?
You're missing the phrase in the documentation after the word "Note:"
Note: (Acrobat 8.0) If cPath is specified, this method can only be executed during batch and console events.
You won't be able to execute the code from a button unless you place the file in a privileged location. You can either follow the directions in the answer above or have each user create a special folder and then tell their version of Reader/Acrobat that it's privileged in the Security Enhanced section of the preferences..