Skip to main content
Inspiring
Sep 6, 2006 2:35 AM UTC
Question

Move label above form field in Flash Form?

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 is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    WestSideAuthor
    Inspiring
    Sep 7, 2006 6:35 PM UTC
    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
    Translate
    Participating Frequently
    Sep 6, 2006 5:11 PM UTC
    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
    Translate