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 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2010
    Posts
    27
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up how to create a multipage registration form ?

    hi all friends
    please help to create multipage registration form like this
    1st-student information
    2nd-parental information
    3rd-fees information
    and all goes to mysql database after submission 3rd step.
    please help me with code
    thanks in advance

  • #2
    Senior Coder
    Join Date
    Jul 2011
    Posts
    1,226
    Thanks
    3
    Thanked 171 Times in 171 Posts
    There are a couple of ways you can achieve what you want. Have multiple pages that have your forms on them and then carry forward the values from the previous input's into hidden inputs on the next form. Or, save them after every page to the sql or whatever table, meaning you can easily implement a 'save and come back to' feature. Or, just have one massive long form
    Last edited by Inigoesdr; 09-13-2011 at 08:24 PM.

  • #3
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,469
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    I think saving each page in a MySQL table is the best way.

    Let's say that a student fills out his/her portion and needs the
    parent to do the next step. They submit the first form and leave
    for the day. The next day, the parent goes in, and it knows that
    the first page is done, and continues on.

    Also note ... a secure server should be used because this sounds like
    it contains sensitive personal data. That being said, the scripting you
    do should be rock-solid secure. If you're just learning PHP, I would say
    this project should be checked by a professional programmer when
    you are done.


    .


  •  

    Posting Permissions

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