问题
I would like to know how can i grab the IP address of Client machine using SAP Interactive Forms by Adobe?
UPDATE : I tried the following script but it still doesn't work
<script contentType="application/x-javascript" src="http://l2.io/ip.js?var=myip" type="text/javascript">
data.subform.TextField1.rawValue = myip;</script>
Can someone update me on this?
Best Wishes.
回答1:
Unless the printing programm passes the information into the form, you probably can't. The Adobe Document Service has not user session or context and does not know anything about the user - it doesn't even know the session language. You might be able to obtain some information using coding inside an interactive form that is executed on the client machine, but I haven't tried that yet.
来源:https://stackoverflow.com/questions/20074230/how-to-get-ip-address-of-client-machine-from-adobe-interactive-forms