Currently Being Moderated
Apr 24, 2008 12:19 PM
I've been working on an extranet app that would allow a
vendor to update multiple purchase order records in a single screen
without having to click to open each record and save individually.
I show a whole list of POs with 4 fields per PO, and then lines for
each item on the PO with 3 fields per line. The user updates any or
all fields and then clicks Save, and I process the whole form. This
is being done in CF8 using an HTML CFFORM.
The problem I'm having seems to be when I pass a certain
number of records on the page--I get one of those "a script is
causing your page to run slowly" messages, in both IE and Firefox.
I eliminated my own Javascripts as a possible cause, leaving the
Javascripts generated by the CFFORM. Sure enough, I changed the
form to a regular HTML form and the script error went away. But
that means I will have to go back and code my own validation
routines and calendar controls.
Is there a known limit to how many CFINPUT elements can
efficiently run on a page? Any workarounds for a CFFORM with
hundreds of elements? I realize there are other ways to accomplish
this, but I'd like to know for this one in particular if it simply
can't be done.
116 Views
0 Replies