[TYPO3] pass a variable to an email form
Andrew Davis
andrew at avagraphique.com
Fri Jun 1 23:23:54 CEST 2007
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_tsref/4.1.0/view/8/20/
>>
>>
More information about the TYPO3-english
mailing list