[TYPO3] pass a variable to an email form
Benjamin Todd
b.todd at emnet.co.uk
Mon Jun 4 10:11:00 CEST 2007
Oh, thanks for sharing that link Andrew 8)
Ben :)
------------------------
Benjamin Todd
Linux Web Developer
b.todd at emnet.co.uk
EMNET, PO Box 559, Nottingham, NG1 3LB
Tel: +44 (0)115 956 8260
Fax: +44 (0)115 956 8264
www.emnet.co.uk
Company Registration No. 3144383 - VAT No. 694 620 609 - Registered
Office: Church House, 13-15 Regent Street, Nottingham NG1 5BS
www.emnetsolutions.co.uk
Company Registration No. 05384178 - VAT No. 856 671 781 - Registered
office: Church House, 13-15 Regent Street, Nottingham, NG1 5BS
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Andrew
Davis
Sent: 01 June 2007 10:24 PM
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] pass a variable to an email form
found a nice tutorial here
http://www.snippit.net/typoscript/tutorials/dynamic-forms.html
i was missing a few things... not too apparant in the tsref....
andrew davis
Andrew Davis wrote:
> hmmmmm, tried creating the simlest temlate to do this, and not
> working... setup tken driectly from TSRef...
>
> Any suggestions as to what I am doing wrong here? Any help much
> appreciated, Thanks.
>
> Andrew Davis
>
>
>
> page = PAGE
> form = FORM
>
> form.dataArray {
>
> 10.label = Name:
>
> 10.type = name=input
>
> 10.value = [Enter name]
>
> 10.required = 1
>
> 20.label = Eyecolor
>
> 20.type = eyecolor=select
>
> 20.valueArray {
>
> 10.label = Blue
>
> 10.value = 1
>
> 20.label = Red
>
> 20.value = 2
>
> 20.selected = 1
>
> }
>
> 40.type = submit=submit
>
> 40.value = Submit
>
> }
>
> page.10 < form
>
>
>
>
>
>
>
> Peter Klein wrote:
>> Hi Andrew. If you build the form using typoscript, then you can use
>> the property "dataArray" to fill in values from the database, or from
>> GPVars..
>>
>> See TSRef:
>>
http://typo3.org/documentation/document-library/references/doc_core_tsre
f/4.1.0/view/8/20/
>>
>>
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
Scanned for viruses by MailDefender
More information about the TYPO3-english
mailing list