Creating a complex website form

1 replies
  • WEB DESIGN
  • |
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
#complex #creating #form #website
  • Profile picture of the author kevbo22
    Look up the "if" statement in the php manual.
    Signature

    The best path to prosperity is free market capitalism!

    {{ DiscussionBoard.errors[8599094].message }}

Trending Topics