Hi,
I'm using form in article through plugin. This form emails data filled by visitor. I want to pass URL (may be other article's data) of the current content to e-mail sent by form.
How and were I can do this?
I'm using form in article through plugin. This form emails data filled by visitor. I want to pass URL (may be other article's data) of the current content to e-mail sent by form.
How and were I can do this?
Hi almer,
Probably the easiest way is to include the url as a hidden field in your form. You'll need to work out the code to add to the form html to create the correct url though.
Bob
Probably the easiest way is to include the url as a hidden field in your form. You'll need to work out the code to add to the form html to create the correct url though.
Bob
I've found the answer!
It's here - http://www.chronoengine.com/forums.html?cont=posts&f=2&t=10768&p=11409&hilit=hidden#p11521
Now hidden field looks:
Bob, thank you for tip!
It's here - http://www.chronoengine.com/forums.html?cont=posts&f=2&t=10768&p=11409&hilit=hidden#p11521
Now hidden field looks:
<input name="url_7" value="http://SITE.com<?php echo $_SERVER['REQUEST_URI']; ?>" type="hidden">
Bob, thank you for tip!
This topic is locked and no more replies can be posted.