• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Saving IP Address

Saving IP Address 15 years 9 months ago #7802

I have looked but can not seem to find a way to record the users IP address when they fill out a form.

How is this done in RSForm! Pro?

Thanks,
Paul
The administrator has disabled public write access.

Re:Saving IP Address 15 years 9 months ago #7815

  • bogdanc
  • bogdanc's Avatar
  • OFFLINE
  • Moderator
  • Posts: 669
  • Thank you received: 11
Hello,

You can create a hidden field in your form and paste this code in the default value box of the field:
//<code>
return $_SERVER['REMOTE_ADDR'];
//</code>

The hidden field will get the ip address of the user who submits your form.

Regards!
The administrator has disabled public write access.

Re:Saving IP Address 15 years 9 months ago #7821

Thank you very much!
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!