5 Replies Latest reply on Sep 24, 2006 9:08 AM by Newsgroup_User

    Cfform button placement

    Level 7
      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


        • 1. Re: Cfform button placement
          Dan Bracuk Level 5
          <td align="left">

          For additional validation, learn javascript. I learned it by buying the book, Teach Yourself Javascript in 24 Hours. Good book.
          • 2. Re: Cfform button placement
            azadisaryev Level 1
            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.
            • 3. Re: Cfform button placement
              Level 7
              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?
              • 4. Re: Cfform button placement
                Level 7
                I cheated. I created a cfinput with a blank label and set to width="1" and
                managed to shift the button over. Thanks!


                • 5. Re: Cfform button placement
                  Level 7
                  yes, cfform type = "flash"