[TYPO3-english] Form of FCE mailform element not send; standard forms just ok
Bert Hiddink
hiddink at bendoo.com
Mon Dec 8 20:21:30 CET 2008
Hello!
I created a FCE mailform element, so that I can get the form prefilled
with some tt_news-data.
Everything looks fine but...the form does not get send. Standardforms
are just send fine.
I disabled the [secureFormmail] option and created this snippet. The
recipient gets encrypted as a hidden field into the form. Please let me
know if you have any idea where things are going wrong.
Many thanks in advance...
Bert
#FCE Mail FORMS
tt_content.mailform.20.recipient >
tt_content.mailform.20.recipient = bert (dot) bendoo (dot) com
apply.form = FORM
apply.form < tt_content.mailform.20
apply.form {
data >
locationData = 0
stdWrap.innerWrap.cObject {
10 = TEXT
10.cObject = COA
10.cObject {
10=CONTENT
10{
table=tt_news
select.pidInList = 113
select.andWhere.cObject = COA
select.andWhere.cObject {
10 = TEXT
10.data = GPvar:tx_ttnews|tt_news
10.wrap = uid = |
}
renderObj=COA
#read the title
renderObj.10=TEXT
renderObj.10{
field=title
}
}
}
10.wrap = <h2>Apply for the vacancy "|"</h2>
10.value.insertData=1
}
stdWrap.innerWrap.cObject = COA
dataArray {
5.label = Name:
5.type= Name=input
5.required = 0
10.label = Name:
10.type= Name=input
10.required = 0
15.label = Your CV
15.type= cv=file
15.required = 0
20.label = Other document:
20.type= otherdoc=file
25.label = Comments:
25.type= comments=input
30.type = submit=submit
30.value = Send application
}
}
#Send it to the FCE
lib.applicationForm < apply.form
--
Vriendelijke groeten,
Bert Hiddink
---------------------
BENDOO e-work solutions
Harterinkdijk 8
7065 AR SINDEREN
The Netherlands
Tel. 0315 244525
http://www.bendoo.nl
hiddink at bendoo.nl
---------------------
More information about the TYPO3-english
mailing list