The topic "Collect IP Address" is not available in Version 3.5.

The topic "Collect IP Address" is not available in Version 3.6.

Collect IP Address

With Forms Builder 3.7 and later you can create a workflow that collects the public IP address of a user accessing a sequence. The form and form sequence do not need to be modified.

Note: Institutions collecting IP addresses need to ensure that the privacy policy for their web site clearly indicates that the IP address is a field that may be captured.

To capture a user's IP address:

  1. Add an Assign activity to the first form (state) in the workflow and assign the formInstance.ClientIPAddress value to an argument.

    Assign ClientIPAddress

  2. Create an Argument of type String for the ClientIPAddress value.

    ClientIPAddress - Argument

  3. Depending on your use case, create other workflow operations using the ClientIPAddress argument.

  4. To check an IP address on the rendered form in a test environment, add the JSON Debug Info component to the form.

    ClientIPAddress - Argument

If the form is accessed from a computer...

  • in a corporate network or cloud, the IP address of the gateway will be captured, i.e., the IP address will be the same for all users within that network.

  • outside of a corporate network or cloud, the IP address of the individual user's computer will be captured.

alert

Do not trust the value of the ClientIPAddress for critical business functions since IP addresses can easily be spoofed.

Before you use this feature in a production environment, ensure that you do not violate any privacy policies or other legal requirements regarding the collection of user data.