Skip to main content
Inspiring
September 6, 2006
Question

Move label above form field in Flash Form?

  • September 6, 2006
  • 2 replies
  • 541 views
Hi,

How can you put the label on a form field "above" the form field as opposed to the left of a text input for example?

Thanks,

-Westside
    This topic has been closed for replies.

    2 replies

    WestSideAuthor
    Inspiring
    September 7, 2006
    Hi,

    This did work, however, the alignment is off, the field is maybe 20 pix to the right of the label. The label is above the form field which is what I want, but the form field is not directly under the label.

    -Westside
    Participating Frequently
    September 6, 2006
    One way you can do it is by using <cfformitem> similar to the following:

    <cfform name="myform" format="flash">
    <cfformitem type="html">
    Label:<br />
    </cfformitem>
    <cfinput type="text" name="textfield" value="">
    </cfform>

    HTH

    Ted Zimmerman