Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Carole 10 posts 30 karma points
    Apr 23, 2012 @ 16:16
    Carole
    0

    How to get caption in custom fieldType

    Hello,

    I'm writing a custom fieldtype, and i'm trying to get the caption the user entered in the setting of the field (rendered in a label tag in the form)

    Is there a way to do this ? I'd rather avoid to add a custom fieldSettingType for this.

    Thanks in advance for your help.

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 23, 2012 @ 17:55
    Tom Fulton
    0

    Hi,

    Not tested this, but have you tried:  this.AssociatedField.Caption ?

    -Tom

  • Carole 10 posts 30 karma points
    Apr 23, 2012 @ 17:59
    Carole
    0

    Nice ! It's perfect

    Thanks a lot !

Please Sign in or register to post replies

Write your reply to:

Draft