Buy Now
Sign in

IP address visible

hansie , July 04 2018, 07:03
H
hansie 63
July 04 2018, 07:03 #378788
Dear Member,
How can I make the IP address of the sender visible in a contact form ?
It was possible in the previous versions.
Regards.
hansie
GreyHead 65
July 04 2018, 08:06 #378796
Hi hansie,
You can use {ip:} to get the user's IP address. Please see the end of the ShortCodes FAQ
Bob
If you'd like to buy me a coffee or two, thank you very much
A
Alistair 155
October 23 2018, 12:32 #380972
Hi guys, I read the manual and the faqs but to me it's not clear where exactly I should put {ip:}, if anyone passing by and cared to give an example it'd be great. Have a nice day.
GreyHead 65
October 23 2018, 14:11 #380980
Hi Alistair,
What exactly do you need to do? If it is just to display the IP address, then put <p>{ip}</p> in a Custom element.
Bob
If you'd like to buy me a coffee or two, thank you very much
A
Alistair 155
October 23 2018, 14:45 #380982
If it is just to display the IP address
Yes. Just that. Custom element where? Design? Setup? I tried both and none worked. If there is an example anywhere it would be more clear.
Also the dynamic reply to sender email I can't find where and what I should write, again if anyone has an example that works as I tried quite a few and couldn't make it work.
GreyHead 65
October 24 2018, 08:43 #381005
Hi Alistair,
Designer tab > Custom > </> HTML
Setup tab > Email action > General > Recipents List > {data:email} - or replace email with the name of your email input.
Bob
If you'd like to buy me a coffee or two, thank you very much
A
Alistair 155
October 24 2018, 09:15 #381012
Hi, maybe I'm on a different chronoforms version, I'm using 6.0.20. But if I put any of these:
<p>{ip}</p>
<p>{ip:}</p>
{ip}
{ip:}
in a </> HTML custom field it just displays wathever I wrote in the form.
As regards the Recipent field I already have my email there, I meant if it's possible when receiving a form via email to click "reply" in my email account and have the recipient's email filled automatically with the email the sender used to send the enquiry.
I hope I made sense, sorry but I struggle with the technical terms.
GreyHead 65
October 24 2018, 09:22 #381015
Hi Alistair,
Maybe the ip address isn't in the form data on Load, you can check by adding a Debugger action to the form On Load event.
To set the Reply To name and email address please scroll down the Email action General tab.
Bob
If you'd like to buy me a coffee or two, thank you very much
A
Alistair 155
October 24 2018, 13:08 #381028
Ok thanks for your help but I'm giving up on both matters, too complicated for me. But hey great component.