Can we read 'Computer Name' and display in text field when the PDF form is loaded? Can someone give me syntax?
I don't think you can - this would be an opportunity for a security leak if it were possible - you'd be able to get the name of the computer and then via WSDL tell someone else the name of the computer the user is using.
You can get the platform (xfa.host.platform) and the host application (xfa.host.name, usually "Acrobat") but nothing that's particularly identifying.
But in my case I have to uniquely identify a user and allow him/her to add data one and only one time (when the form opens blank). And then have the document emailed to their manager. Manager will have edit rights. This would be offline PDF document so at form load I have to uniquely identify the user.
Could you ask the user to digitally sign the form? Place a signature field on the form for the user to sign before they forward it to their manager.
Having the user to sign the form ensures you know who submitted it, and they know that they're placing their ID into the form.