473,378 Members | 1,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Configure editable form fields?

I'm looking for some feedback or for someone to point me in a good
direction.

We have a web application that consist of many forms. Some of our clients
have asked if we can configure the app in such a way as to allow them to
turn on/off the editable nature of certain form fields.

ie: Say the form has 10 fields in it, one of which is a field for the users
birthdate. Some clients want the user to be able to change their birthdate,
and some do not.

What's the best way to set this up? Obviously, we could setup config tables
in the db that correspond to all form fields in the app and then mark in the
db for each client whether or not the field is editable, but this seems way
too db intensive. Any thoughts?

dmy
Nov 18 '05 #1
1 1216
I think the answer depends on knowing all the numbers:

How many clients/visitors/pages/controls are we talking about?

I think storing the locked/unlocked fields in a database is a perfectly
valid solution, provided the database is normalized well. I could envision
querying a table passing the clientID and PageName and retrieving the
control names to mark read-only. Or not read-only (whichever returns the
fewest results.)

"dm_dal" <RE******************@yahoo.com> wrote in
news:uo**************@TK2MSFTNGP09.phx.gbl:
I'm looking for some feedback or for someone to point me in a good
direction.

We have a web application that consist of many forms. Some of our
clients have asked if we can configure the app in such a way as to
allow them to turn on/off the editable nature of certain form fields.

ie: Say the form has 10 fields in it, one of which is a field for the
users birthdate. Some clients want the user to be able to change
their birthdate, and some do not.

What's the best way to set this up? Obviously, we could setup config
tables in the db that correspond to all form fields in the app and
then mark in the db for each client whether or not the field is
editable, but this seems way too db intensive. Any thoughts?

dmy


Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Young Seeker | last post by:
Hi, I created two forms using forms wizard. One was for a master table that has just an ID and Description column. Another was for a transaction table that has foreign keys from the master table...
4
by: Javier Gomez | last post by:
I have a query field which is a non editable field because is a function's result. Due to I need to edit the information, Can you please suggest me any solution for this problem?? (No matter...
2
by: Jesper Stocholm | last post by:
I have a challenge, that I do not seem to be able to solve. I have an "overview"-page that presently displays data from 2 columns in a database table. The users should be allowed to edit data in...
3
by: S P Arif Sahari Wibowo | last post by:
Hi! I would like to make an editable continous form, where most fields will be from table A and editable, except 1-3 fields are a glimpse into table B and uneditable. Table A relate to table B...
1
by: Joe Spears | last post by:
Hi I want to display a datagrid summary of a datatable. The grid will not show all the fields, but when the user selects a row, I want the other controls (text boxes) to also bind to the same row...
1
by: planetthoughtful | last post by:
Hi All, I have a web page that presents records in a table, with one row per record. I'd like to put an edit button next to each record, such that if a user clicks on the edit button next to...
1
by: pdesh3 | last post by:
Hi, I am not getting any idea how to implement this: I have a form for which I need to create a top banner kind of the thing on top section of the Form. It should contain the feilds as...
0
by: lee.walczak | last post by:
I actually post a topic relating to my problem here: (http://groups.google.co.uk/group/comp.lang.python/browse_thread/ thread/a073d532c4481bfe?hl=en# ) But I thought it could be useful to...
0
by: mirin | last post by:
Hello, In a Default.aspx page, I need to display an unbound grid with the following editable columns: Name, Location, Phone, Paid, Amount Initially the grid would be empty with only the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.