Hi, i am used to programming standalone computer applications not internet
applications and would really appreciate some advice.
I have a form with quite a few fields (text boxes etc...) on it. For
additiional HCI, when the user edits the form from pre-exsting data, i like to
have the fields
The red and green aspect would probably be faciliated by client side
scripting like Javascript to change the colors of the data fields as they
are modified. OnChange event should handle those just fine.
Are you opposed to querying the database for a complete recordset? What I
mean by this, you
thanks for your reply teddy.
This does make perfect sense. The only reason i am a little opposed to opening
the record is that i have been told that database interactions is what
determines howmany concurrent users you can have on your server.Ther project i
have at the moment has to be
the unchanged
fields. Disabled fields aren't in the FORM scope of the action page.
-Original Message-
From: Richard White
Sent: Monday, September 25, 2006 1:54 PM
To: CF-Talk
Subject: Posting variables
Hi, i am used to programming standalone computer applications not
internet applications and would
Updating one column verses 10 or even 50 wont make much difference
PLUS this is done on the DB server, so CF just passes this on (if it's
on 2 different servers). You wont see a performance increase from
updating only a few columns.
If you wanted the colors thingy.. you could use a Confirm page..
I've done something like that. My method was to have a hidden form field
with the original data and compare it to the submitted data.
input type=text name=userName value=#variables.userName#
input type=hidden name=userName_orig value=#variables.userName#
!--- Action page ---
cfif form.userName
You can also double post the fields with original data.
form.lastname_orriginal, form.lastname_new, then compare the values on your
action page. This could then serve as the comparison operator for your
javascript coloring. If the 2 values don't match, change background to red,
if the user
Updating one column verses 10 or even 50 wont make much difference
PLUS this is done on the DB server, so CF just passes this on (if it's
on 2 different servers). You wont see a performance increase from
updating only a few columns.
If you wanted the colors thingy.. you could use a Confirm page..
very goodpoint about the js dependant, and the pre-processing, thanks
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
9 matches
Mail list logo