Skip to main content
Inspiring
September 23, 2006
Question

Cfform button placement

  • September 23, 2006
  • 5 replies
  • 404 views
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


This topic has been closed for replies.

5 replies

Inspiring
September 24, 2006
yes, cfform type = "flash"


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


Inspiring
September 24, 2006
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?
Inspiring
September 24, 2006
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.
Inspiring
September 24, 2006
<td align="left">

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