Hi,
I've been searching the forum and the faqs but haven't found anything yet...
I have a form posted in a joomla article and need the form sent to the author of the page where the form lies.
I'd like to use the "dynamic to" to email the author.
I can get the author's email address into a variable, but I don't know how to insert that into the "dynamic to" field.
Thanx for your help.
Mark
I've been searching the forum and the faqs but haven't found anything yet...
I have a form posted in a joomla article and need the form sent to the author of the page where the form lies.
I'd like to use the "dynamic to" to email the author.
I can get the author's email address into a variable, but I don't know how to insert that into the "dynamic to" field.
Thanx for your help.
Mark
Hi Mark,
Add a hidden input to your form, set the value to the Author email; then put the name of the input in the Dynamic To Email box.
Bob
Add a hidden input to your form, set the value to the Author email; then put the name of the input in the Dynamic To Email box.
Bob
Thanx Bob!
should have tried that before bugging you...I'll give it a go
Mark
should have tried that before bugging you...I'll give it a go
Mark
Hey Bob,
I'm trying to do this again on a different site and can't get it to work
I have a variable called $email
Pulled up in a hidden input field:
And email2 in the "dynamic to" area of the email config
Along with an email setup to my regular inbox
When I "unhide" the hidden input box, the following is what I see as the box's value:
Completely stumped once again
Thanx for your help man
mark
I'm trying to do this again on a different site and can't get it to work
I have a variable called $email
Pulled up in a hidden input field:
<input type="text" name="email2" value="<?php echo $email; ?>">And email2 in the "dynamic to" area of the email config
Along with an email setup to my regular inbox
When I "unhide" the hidden input box, the following is what I see as the box's value:
<script language='JavaScript' type='text/javascript'>
<!-- var prefix = 'mailto:';
var suffix = '';
var attribs = '';
var path = 'hr' + 'ef' + '=';
var addy77087 = 'marklandry' + '@';
addy77087 = addy77087 + 'tantomedia' + '.' + 'com';
document.write( '<a ' + path + '\'' + prefix + addy77087 + suffix + '\'' + attribs + '>' );
document.write( addy77087 );
document.write( '<\/a>' ); //--> </script>
<script language='JavaScript' type='text/javascript'>
<!-- document.write( '<span style=\'display: none;\'>' );
//--> </script>This e-mail address is being protected from spambots.
You need JavaScript enabled to view it
<script language='JavaScript' type='text/javascript'>
<!-- document.write( '</' ); document.write( 'span>' ); //--> </script>Completely stumped once again
Thanx for your help man
mark
This topic is locked and no more replies can be posted.
