I still have a doubt. It is necessary to use "user" field type to load
Javascript code?

Because in the Xavier's example he is really using a new custom field.
Maybe this works to display an alert, but in the case of changing a
selector depending on the choise in other selector is a nonsense to write
all the code for a custom selector when I already have it in the TCA.

How can I load Javascript code to a "normal" field?

2012/10/25 Guillermo R. Oramas J. <[email protected]>

> Thanks!
>
> What a awesome example!:
> http://xavier.perseguers.ch/tutoriels/typo3/articles/google-map-in-tca.html
>
> 2012/10/25 Richard Davies <[email protected]>
>
> > Hi Guillermo,
> >
> > Check out this previous question about it, and specifically Perseguers
> > answer.
> >
> > http://lists.typo3.org/pipermail/typo3-dev/2011-August/044024.html
> >
> > Richard
> >
> > On 26 October 2012 05:51, Guillermo R. Oramas J. <[email protected]>
> > wrote:
> >
> > > Sorry if this is a repetitive question, but I couldn't find any
> concrete
> > > information about this.
> > >
> > > I have a table, I configured the TCA, and now I need to display some
> > alerts
> > > when the users select some options in one of the fields. Also I need to
> > > change a conditional selector (state) depending on the option of other
> > > selector (country), so the question is How can I add Javascript code to
> > do
> > > this, without breaking the code or my brain?
> > >
> > > Thank you for any clear piece of advice.
> > >
> > > Guillermo O.
> > > _______________________________________________
> > > TYPO3-english mailing list
> > > [email protected]
> > > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> > >
> > _______________________________________________
> > TYPO3-english mailing list
> > [email protected]
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> >
> _______________________________________________
> TYPO3-english mailing list
> [email protected]
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to