Copied to clipboard

Flag this post as spam?

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


  • Jon Jones 2 posts 22 karma points
    May 11, 2011 @ 18:33
    Jon Jones
    0

    Field display and labels

    I'm using Contour for forms on a customer's website, however, their style preference is to have no label and the default text in the field set to what the label would be.

    For example, in a Firstname textbox, the textbox would contain the text Firstname, which when the box is clicked in, it would empty.

    Is it possible to change Contour to do this? 

    Also, for registered users is there source anywhere?

    Thank-you

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    May 12, 2011 @ 10:17
    Tim Geyssens
    0

    Hi,

    Well you would use some css to hide the labels and then you could do the default text with some jQuery

    Cheers,
    Tim

  • Jon Jones 2 posts 22 karma points
    May 12, 2011 @ 11:03
    Jon Jones
    0

    Thanks Tim.

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies