Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8214301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:24:55+00:00 2026-06-07T11:24:55+00:00

If you know of any open source project that does something similar I’d be

  • 0

If you know of any open source project that does something similar I’d be happy to look at the source code. Example of what I am looking for. You custom build a form that looks similar to

Name:
Address:
Zip Code:
Gender: Male/Female
(Now in this field I would like for the admin to be able to define a logic criteria, If Gender was female then some questions would should up, If male other questions would show up). This would be done dynamically since I would not know what the customer built.

Female Question One: (Logic Syntax that customer would put would be [gender] = 'female')

So How would I go implementing something like that. I would prefer if it is in PHP but other languages would be fine.

Here is a Picture, this would be entered by the user and I would have to parse it.
enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T11:24:56+00:00Added an answer on June 7, 2026 at 11:24 am

    It sounds like you want to build a survey type tool, where people can create custom forms. If I understand it, you need to build a few pieces to get what you want:

    1. A way for people to specify under what conditions a field appears (which you’ve provided a screenshot of – I assume that’s a sample/mock up).

    2. A standardised language which people can use to specify their conditions.

    3. a parser which will interpret what the user types in, and convert it to some standard representation

    4. a complier which will convert that standard representation into the code which displays/hides questions.

    You will also have to make some design decisions, and they will determine things like which languages you can use. For example, if it is sufficient to only show/hide questions when the “next” button is clicked, then you can do it in PHP alone. If you need to dynamically hide questions on the same webpage before clicking next, you will need to use javascript or similar.

    For parts 3 and 4, there are some helpful answers in Lexer written in Javascript? (javascript) and What is a good parser generator for php? (php) which might point you in the right direction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anybody know of any open source project that deals with creating forms or
Does anyone know any open source project or adapter for MySQL-AdWhirl? We try to
Does anybody know about a product or an open source project that would do
Does anyone know if there is an open source project for an UIView element
Does anyone know of an open source H.264 encoder in C# (or any other
Does anyone know of any active open source projects working on political campaign management
Do you know about any open source projects written in XQuery? The larger the
Visual Studio language extensibility Does anybody know whether there's an open source (or paid)
Does anyone know of any libraries that decode one or more of the multitude
I am looking for an open-source iTunes style media player that I can use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.