Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Application Process (Checklist)

    Hi,

    Sorry if i'm posting in the wrong section but I was wondering if this could be done in HTML. I have an application sequence which consists of 4 pages, eg. step1.html step2.html step3.html step4.html. In step1.html I have a form, a next button and a checklist of options made up of checkboxes describing what the user needs in the future steps, I was wondering if it would be possible so that when the user clicks next it checks to see if all checkboxes are checked and goes on to step2.html, if they aren't all checked then a dialog box appears saying they need to be?

    Thanks in advance.

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Not with just HTML. HTML is a markup language, nothing more. To validate a form you need to use Javascript or a server-side language like PHP.

    Look up form validation in Google for a bunch of tips; most of them revolve around JS form validation but I would recommend a server-side solution.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •