I don't know of any content size limit for form fields.  I would think the
problem might be something else.  Any chance your WDDX packet has some
double-quotes in it?  Because that would cause the WDDX packet to be
truncated before being sent back to the action page.

For example (not a WDDX packet, but the same thing applies):

        <!--- formPage.cfm --->
        <CFSET hiddenValue = "first part" & '"' & "second part">

        <FORM ACTION="actionPage.cfm" METHOD="Post">
                <CFOUTPUT>
                <INPUT TYPE="Hidden" NAME="hiddenValue" VALUE="#hiddenValue#">
                </CFOUTPUT>
        </FORM>

        <!--- actionPage.cfm --->
        <CFOUTPUT>#FORM.hiddenValue#</CFOUTPUT>

actionPage.cfm will display:

        first part

Looking at the HTML source of formPage.cfm will show you:

        <FORM ACTION="actionPage.cfm" METHOD="Post">
                <INPUT TYPE="Hidden" NAME="hiddenValue" VALUE="first part"second part">
        </FORM>

Note the value of the hidden field's VALUE attribute.  The value is "first
part" (w/o the quotes).  Everything after that double quote is considered
junk and is not sent back to the server on form submit.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: Kevin Langevin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 15, 2002 5:27 PM
> To: CF-Talk
> Subject: Max Length to form field containing a WDDX packet?
>
>
> Hey all-
>
> I've a large WDDX packet containing a complex structure that I
> need to pass
> from one page to another, but I'm getting a "not well formed" error after
> passing the packet to an action page and trying to unpack it.  Anyone know
> what the maxlength of a form variable is?  I think the WDDX
> packet is about
> 110,000 characters.  I'm thinking I'm going to have to stow it in a temp
> table and pull it back out on the action page.  I'd love to hear
> suggestions
> to the contrary, though.
>
> -Kev
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to