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 7596575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:56:56+00:00 2026-05-30T21:56:56+00:00

So, I’m building a form that my users can customize based on their needs,

  • 0

So, I’m building a form that my users can customize based on their needs, and then accept responses to it from THEIR clients. Think of it like a Google Docs Form (I can log in and make a form of any size, with lots of dynamic fields).

What is the typical way to create this – and are there PHP libraries that are good at doing this already? As of now, it’s my plan to just think of every field they could ever want, and associate a boolean logic with that field for that user. In other words, let’s say these are all of the possible fields that could be used:

  • Name
  • Phone
  • Email
  • City
  • State

Each of those can be turned “on” or “off” for any of my users, so that it is (or isn’t) displayed and used for THEIR clients. This seems like a very work-intensive way to do things, and I’m wondering if it makes more sense to allow a completely dynamic form to be created by them. But then again, that sounds like a lot more work to me…

So the question – Is my logic sound, and a standard way that people would code this? Why/Why not? Are there any libraries available that I can customize into my WebApp to allow completely dynamic form creation?

Thanks all!

  • 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-05-30T21:56:57+00:00Added an answer on May 30, 2026 at 9:56 pm

    We’ve built this before as an internal project for our own purposes. Good thing too cause it was much more complex than we wanted. We went with a custom solution because at the time we did not see any options to do basically what you wanted: local storage and highly customizable. We may have found something close – I don’t remember exactly – but the part of your question I will address is whether or not your logic is sound and not necessarily if there is an existing library.

    I would strongly suggest you do NOT think of every field they could want. You will lock yourself into a structured package that would be horrible to maintain. Abstracting this is the only way to go.

    We made it so each form is an entry in the forms table. Simple enough. Form name, client id, status (active / disabled), etc.

    Each field is in a relational table keyed to the form id, of course. This entry stores the label, id, type (select, multi select, radio, text, textarea), required (bool), order, active or disabled, options (like tinymce enabled, etc), etc.

    Then each field has a many to one relational table for the options, if applicable. For dropdowns, radio buttons, etc.

    This is not terribly complex initially, but when you start improving things – or even wanting to separate things into pages – it becomes worse and worse.

    Point is – abstract it. You will be much happier in the end.

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
Does anyone know how can I replace this 2 symbol below from the string
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into

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.