Hi there,
I'm pretty sure that this is do-able somehow, but I'm not managing to grasp it at the moment.
What I need to do is compose the subject of the e-mail that my form is sending so that it contains data that was in fields of the form..
An example of this would be as follows:
subject= "You have recieved an application from firstname lastname"
where firstname and lastname are fields within the form which was just filled in...
James
I'm pretty sure that this is do-able somehow, but I'm not managing to grasp it at the moment.
What I need to do is compose the subject of the e-mail that my form is sending so that it contains data that was in fields of the form..
An example of this would be as follows:
subject= "You have recieved an application from firstname lastname"
where firstname and lastname are fields within the form which was just filled in...
James
Hi James,
Sure, on the on submit before email field, please add this code :
Cheers๐
Max
Sure, on the on submit before email field, please add this code :
<?php
$rows[0]->emailsubject = "You have recieved an application from".$_POST['firstname_field']." ".$_POST['lastname_field'];
?>
Cheers๐
Max
Sweet!
Thanks for the prompt reply to my question.
I have another question, which is one a very different topic, it concerns the licencing of the software, as I don't want to violate the agreement..
The way I've set up the way the forms are processed is by copying and pasting the form code from the actual form page that your component generates. I copied this without the little div with the link to your site in it. Should I make sure that this div with its link appears on the page with the form?
James
Thanks for the prompt reply to my question.
I have another question, which is one a very different topic, it concerns the licencing of the software, as I don't want to violate the agreement..
The way I've set up the way the forms are processed is by copying and pasting the form code from the actual form page that your component generates. I copied this without the little div with the link to your site in it. Should I make sure that this div with its link appears on the page with the form?
James
Hi James,
I can't understand you, if you are using Chronoforms unlicensed version then the link will appear automatically at the bottom of the form unless you edited some component core files , how did u make it not to show ?๐
Cheers
Max
I can't understand you, if you are using Chronoforms unlicensed version then the link will appear automatically at the bottom of the form unless you edited some component core files , how did u make it not to show ?๐
Cheers
Max
Hey max,
I think its probably easiest if you just check out a link here, then you'll get the idea.
http://www.iglu-dorf.com/index.php?option=com_content&task=view&id=30&Itemid=53
I'm not doing it this way to not show the link, I'm doing it like this as I figured it would be a lot easier than trying to customise the page generated by the component (i.e. http://www.iglu-dorf.com/index.php?option=com_chronocontact&chronoformname=VoucherFormEN)
I just figured that doing it like this is actually violating the agreement... so I can copy the div with the link into the bottom of that content item if you like...
James
I think its probably easiest if you just check out a link here, then you'll get the idea.
http://www.iglu-dorf.com/index.php?option=com_content&task=view&id=30&Itemid=53
I'm not doing it this way to not show the link, I'm doing it like this as I figured it would be a lot easier than trying to customise the page generated by the component (i.e. http://www.iglu-dorf.com/index.php?option=com_chronocontact&chronoformname=VoucherFormEN)
I just figured that doing it like this is actually violating the agreement... so I can copy the div with the link into the bottom of that content item if you like...
James
Hi James,
Sorry for the delay, I can see the form yes, this is of course against the agreement because anyway the link isn't appearing at the page source, the div code can be copied there and then you can use css to hide the div if you like or you can purchase a license!๐
Also I guess you copied the form code from somewhere, you could just use the mambot to show the form in a content item page!
Sincerely,
Max
Sorry for the delay, I can see the form yes, this is of course against the agreement because anyway the link isn't appearing at the page source, the div code can be copied there and then you can use css to hide the div if you like or you can purchase a license!๐
Also I guess you copied the form code from somewhere, you could just use the mambot to show the form in a content item page!
Sincerely,
Max
aha... that would probably be a smart idea... the mambot.
I feel so stupid now๐
As for the div, is it allowable to use the "display:none;" on the div so its not even appearing visually, but part of the source?
James
I feel so stupid now๐
As for the div, is it allowable to use the "display:none;" on the div so its not even appearing visually, but part of the source?
James
Sure๐
Cheers
Max
Cheers
Max
This topic is locked and no more replies can be posted.