contact form submission
Permalink
Hi,
I used the standard contact-us form and changed it a bit (mainly language-issues). As I'm not really an IT-dude it took a while but with the help of the existing answers in the forum I could solve every problem (thanks 4 that!) beside one:
in block_form_submission.php is written:
the first %s in body seems to shows up as filename of the form (Contact us), then comes "new blablabla..." and with the 2nd %s finally the content of form.
Is there a way to hide that filename?
thanx,
Luis
I used the standard contact-us form and changed it a bit (mainly language-issues). As I'm not really an IT-dude it took a while but with the help of the existing answers in the forum I could solve every problem (thanks 4 that!) beside one:
in block_form_submission.php is written:
<?php defined('C5_EXECUTE') or die("Access Denied."); $submittedData=''; foreach($questionAnswerPairs as $questionAnswerPair){ $submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answer']."\r\n"."\r\n"; } $formDisplayUrl=BASE_URL.DIR_REL.'/' . DISPATCHER_FILENAME . '/dashboard/reports/forms/?qsid='.$questionSetId; $body = t("%s new blablbla from your website %s ", $formName, $submittedData, $formDisplayUrl);
the first %s in body seems to shows up as filename of the form (Contact us), then comes "new blablabla..." and with the 2nd %s finally the content of form.
Is there a way to hide that filename?
thanx,
Luis
Yes. You want it hidden in the email that goes out?
yes exactly - I try to style the outgoing mail
cheers, Luis
cheers, Luis
...nobody knows an answer?...
You do NOT want to see the link to 'form submissions'?
If somebody uses the contact form I receive the following mail:
[quote]
Contact Us
new blablbla from your website
Name
Luis
E-Mail:
You're message:
message message message
[/quote]
The first line "Contact Us" seems to be the filename of the form. As I find that line senseless in the mail, I like to remove it.
But somehow I'm to clumsy to accomplish...
cheers,
Luis
[quote]
Contact Us
new blablbla from your website
Name
Luis
E-Mail:
You're message:
message message message
[/quote]
The first line "Contact Us" seems to be the filename of the form. As I find that line senseless in the mail, I like to remove it.
But somehow I'm to clumsy to accomplish...
cheers,
Luis
I don't get that message?
I get:
There has been a submission......
Name
Bob
Email
bob@bob
Comments
Comment...........
To view all of this form's submissions, visit..............
How have you set the email form?
have modified any php files?
I get:
There has been a submission......
Name
Bob
bob@bob
Comments
Comment...........
To view all of this form's submissions, visit..............
How have you set the email form?
have modified any php files?
Sorry for late reply - I had a few days off...
Finally I found out - should have been clear from the beginning...
thanks anyway,
Luis
Finally I found out - should have been clear from the beginning...
thanks anyway,
Luis