IP in the form

Issues related to forms.
Post Reply
karleduard
 
 
Posts: 6
Joined: Mon Sep 02, 2019 9:48 pm
Location: Brasil
Contact:

IP in the form

Post by karleduard »

How do I put the IP of who is filling the form in the message received in HTML or Rich Text?
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: IP in the form

Post by Pablo »

You can use the variable:
$ipaddress
karleduard
 
 
Posts: 6
Joined: Mon Sep 02, 2019 9:48 pm
Location: Brasil
Contact:

Re: IP in the form

Post by karleduard »

Thank you for your help!

sorry for my ignorance and what would be the date and time variable ex. (11/05/2022 12:00)

I ask these questions because I want to put the following in the footer:

"sent by: $ipadress on $date at $hours."
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: IP in the form

Post by Pablo »

There is no variable for the time or date.
But you can insert custom code to the form script via the Object HTML of the form.
karleduard
 
 
Posts: 6
Joined: Mon Sep 02, 2019 9:48 pm
Location: Brasil
Contact:

Re: IP in the form

Post by karleduard »

thanks for the answer!
Post Reply