Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Move label above form field in Flash Form?

Engaged ,
Sep 05, 2006 Sep 05, 2006
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
485
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 06, 2006 Sep 06, 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 07, 2006 Sep 07, 2006
LATEST
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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources