Forums

IP address visible

hansie 04 Jul, 2018
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 04 Jul, 2018
Hi hansie,

You can use {ip:} to get the user's IP address. Please see the end of the ShortCodes FAQ

Bob
Alistair 23 Oct, 2018
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 23 Oct, 2018
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
Alistair 23 Oct, 2018

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 24 Oct, 2018
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
Alistair 24 Oct, 2018
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 24 Oct, 2018
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
Alistair 24 Oct, 2018
Ok thanks for your help but I'm giving up on both matters, too complicated for me. But hey great component.
This topic is locked and no more replies can be posted.