[TYPO3-templavoila] References between fields

Jonathan Uhlmann newsgroups at augenreiz.ch
Sun Apr 8 15:04:13 CEST 2007


Hi Fredieric

It seems that you know how to generate a randomnumber with TypoScript. 
In my case "setContent.data = MATH:randomnumber" doesn't work.
I need to do the same thing as you've done. (insert a random value in 
two places)

Thank you for your help!

Jonathan




Frederic Gaus schrieb:
> Hi!
> 
> I have a small problem. I need to insert a random value in two places of
> my html-sourcecode. But they need to be the same value.
> 
> So I wrote the following ts in my datastructure:
> 
> field_randomnumber1:
> 10 = TEXT
> 10.setContent.data = MATH:randomnumber
> 10.content = 1
> 
> This works as expected. But I need the same randomnumber in
> field_randomnumber2:
> 
> 10 = TEXT
> 10.field = field_randomnumber1
> 
> And this is not working as expected :(.
> I hope someone got my requirements and know what I can have to do.
> 
> Thanks
> 
> Frederic
> 


More information about the TYPO3-project-templavoila mailing list