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

Cfform button placement

LEGEND ,
Sep 23, 2006 Sep 23, 2006

Copy link to clipboard

Copied

How can I move my button (in a cfform) over about 2 inches? I would rather
it align under the first input box rather than all the way to the left.

Also, where can I find information on additional validation for form
elements? I would like to have 2 password boxes that check to see if both
have the name information entered prior to submitting?

Thanks.

--
Wally Kolcz
Developer / Support


TOPICS
Advanced techniques

Views

353

Translate

Translate

Report

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
LEGEND ,
Sep 23, 2006 Sep 23, 2006

Copy link to clipboard

Copied

<td align="left">

For additional validation, learn javascript. I learned it by buying the book, Teach Yourself Javascript in 24 Hours. Good book.

Votes

Translate

Translate

Report

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 23, 2006 Sep 23, 2006

Copy link to clipboard

Copied

how to move your button depends on how your button is positioned. if it is inside a table cell, you can use style="padding:200px;" in that cell (change the value of padding as you need + look up stylesheets if you have no idea what i am talking about.
if your button is not inside a table cell, but in a paragraph tag, use same in the <p>. if you are using rich forms, then it's a very different issue...

as for form validation, first step will be to google "javascript form validation +tutorial" and read as many results as you can. when you are somewhat familiar with the basics, start looking up code on free code sites like dynamicdrive.com and figuring out how they work and adapting it to your needs. buy some books, too.

Votes

Translate

Translate

Report

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
LEGEND ,
Sep 23, 2006 Sep 23, 2006

Copy link to clipboard

Copied

Wally Kolcz wrote:
> How can I move my button (in a cfform) over about 2 inches? I would rather
> it align under the first input box rather than all the way to the left.

it you mean flashforms, try cfformitem.

> Also, where can I find information on additional validation for form
> elements? I would like to have 2 password boxes that check to see if both
> have the name information entered prior to submitting?

what kind of forms?

Votes

Translate

Translate

Report

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
LEGEND ,
Sep 24, 2006 Sep 24, 2006

Copy link to clipboard

Copied

I cheated. I created a cfinput with a blank label and set to width="1" and
managed to shift the button over. Thanks!


Votes

Translate

Translate

Report

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
LEGEND ,
Sep 24, 2006 Sep 24, 2006

Copy link to clipboard

Copied

LATEST
yes, cfform type = "flash"


Votes

Translate

Translate

Report

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
Documentation