To use the end user's IP address as a default value for a Forms field, enter the following variable into the Default Value field in the Salesforce Element popup:
{$IPAddress}
If you include this, it is good practice to make this Salesforce Element a hidden field so as not to confuse the end user.