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

  • Home
  • SEARCH
  • 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 8907397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:54:20+00:00 2026-06-15T02:54:20+00:00

I have a design that I have set up and I could really use

  • 0

I have a design that I have set up and I could really use some help to see if I am on the right track. If this is not an appropriate question for Stackoverflow, I apologize and I will remove it. I’m a fairly new user and not 100% sure.

I am building a content manager and everything is coming dynamically from the database. I have a page that has sections and these sections have fields and data is entered into these field. The fields could be textboxes, comboboxes or listboxes. The point here is to be able to create pages, these pages get the appropriate sections with fields based on the section type and I simply want to store the values so that the page can be read or edited later.

Page1

Section1

field1 [Texbox1]
field2 [Texbox2]
field3 [Combobox1]

Section2

field1 [Texbox1]
field2 [Listbox1]
field3 [Combobox1]

The sections can be reused on different pages and the fields are always the same on every section.

My database looks like this:

Page
* PageId
* PageName

Page_Section
* PageId
* SectionId

Section
* SectionId
* SectionTypeId
* SectionName

SectionType
* SectionTypeId
* SectionTypeName

Field
* FieldId
* SectionId
* FieldName

FieldValue
* FieldValueId
* FieldId
* FieldValueValue
* Current Value (This is a bit because a combobox could have multiple values but I wanna show which one is selected. Similarly, a listbox could have multiple values selected)
* PageId

So a page is created with the sections based on a section type. Each section has x number of fields and then obviously each page field can have a different value that’s why FieldValue has pageId but it feels weird to put in that pageId in FieldValue but I see no other way. Am I on the right track?

  • 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-15T02:54:22+00:00Added an answer on June 15, 2026 at 2:54 am

    I think you’re on the right general track.

    One area I’d worry about is the sequencing of sections on each page — I think your Page_Section table needs an extra column SeqNo SMALLINT NOT NULL which takes values in increasing order (they don’t have to be contiguous), so that when you order by SeqNo, your sections will be presented in the correct order on the page.

    You might need a similar sequencing column for fields within a section.

    Your Field table will probably need some field type information.

    Maybe your FieldValue table should be renamed to PageFieldValue; it is designed to associate a value with the field on a particular page. As long as a given field can’t appear more than once on a page, the renamed table is accurately named; it contains the value of a field on the nominated page. It isn’t clear whether there can be some sort of default system so that if a page doesn’t specify a particular value for a field, then the default value kicks in. It might be worth thinking about.

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

Sidebar

Related Questions

https://i.stack.imgur.com/YZXZN.png (I'm currently not allowed to embed images) I could really use some help
I have a schema design that looks like this: Table: User Row Column Family
So I have this template design that is currently absolutely positioned, but I'm trying
I'm setting up a Magento site and have some design requirements that we can't
I have an idea for a functional programming language design that makes heavy use
I have a system I am trying to design that will retrieve information from
I have a design for a page that uses 3 types of audio and
I have to design a data structure that is to be used in a
I have numerous functions (unknown at design time) that each take a specific number
I have several label boxes on my design form that all share the naming

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.