Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    2
    Member #
    37400

    Complex website form

    Hi, I'm wondering how I can go about and how difficult it would be to create a form for users which takes them to a specific page based on the combination of answers they give on multiple questions (yes/no answer questions).

    It will be similar to this one, but a lot less complex, with fewer questions: https://debtremedy.stepchange.org/quickassessment.aspx.


    Here is how I want it to work:

    There are 12 different questions, all with the option of yes or no. Once the user has answered all of the questions on the form (which are about personal debt), the website will take them to a page which gives them the appropriate debt advice.

    There are 14 different pieces of Debt Advice. Sometimes, depending on how the user answers, all of these pieces of advice will be appropriate and will need to appear on the page which appears after they finish the form. However, if the user answers yes to question 1, this will rule out Debt Advice piece number 5, 8, and 12, and if they answer yes to question 2 then the program will rule out Debt Advice number 2, 7, and 10 (if they answered no then it would not rule these out).

    So in this way, the answers they give to the questions will determine the information which will appear on the page that results after they have finished the form.

    How would one go about creating/programming such a form?

    Any advice or comments would be much appreciated.

    Philip

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    I'd have the 12 questions in a database table, the 14 pieces of advice in another database table, and a table called Exclusions (or something like that) that links the two together.

    From there, it would be a matter of building the questionnaire (which is easy enough, since you just need to retrieve the questions from the first table) and then process the invalid pieces of debt advice.

    Where you run into issues is that you have 14 pieces of advice, 12 questions, and presumably multiple pieces of advice that can be ruled out with each question. Let's say 1, 5 and 8 are ruled out by question 1; 2, 7, and 10 are ruled out by question 2; and 5, 9, and 10 are ruled out by question 3. Someone answers yes to 1, yes to 2 and no to 3. What happens to pieces of advice 5 and 10 in that scenario, since there's a "yes" and a "no" that applies to those two pieces of advice?

    These are the sorts of things you'll need to work out.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Oct 2013
    Posts
    2
    Member #
    37400
    OK, thanks a lot for your advice.

    I'm going to be using wordpress to create this questionnaire/ form. Is there a program or plugin on wordpress you can recommend for making this?

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    I'm not a WP guy, so I wouldn't have one. Sorry.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:02 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com