Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Getting Started / November 2007



Tip: Looking for answers? Try searching our database.

CFFORM Problems

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WaveRunr - 24 Nov 2007 16:13 GMT
We just upgraded to cfmx7. We are having a problem with CFFORM and text fields.
When I have a form with a text field I am finding that if Ipopulate the field
with a large amout of text it will not submit. For example

---------------Cold Fusion Code ----------------
<td bgColor="#StoreOptions.admincolor2#" valign="top"><cfinput
name="ItemName#ID#" value="#ItemName#" size="8" class="W80"></td>
              <td bgColor="#StoreOptions.admincolor2#" valign="top"><cfinput
name="VariationRules#ID#" value="#VariationRules#" size="8" class="W80"></td>
              <td bgColor="#StoreOptions.admincolor2#" valign="top"><cfinput
name="UserInput#ID#" value="#UserInput#" size="8" class="W80"></td>
              <td bgColor="#StoreOptions.admincolor2#" valign="top"><cfinput
name="Weight#ID#" value="#Weight#" size="3" class="W3"></td>
              <td bgColor="#StoreOptions.admincolor2#" valign="top"><cfinput
name="Qty#ID#" value="#Qty#" size="3" class="W30" required="yes" message="You
must specify a valid value for 'Qty'" validate="integer" maxlength="7"></td>
              <td bgColor="#StoreOptions.admincolor2#" valign="top"><cfinput
name="Price#ID#" value="#Trim("#NumberFormat(Price, "#CurrencyList.mask#")#")#"
size="5" class="W45" required="yes" message="You must enter a valid numeric
value for 'Price'" validate="float"></td>
----------------------------------

This code was inside of a cfloop processing 1 - 3 records in a resultset. With
one record the submit worked fine. When the query returns two records the
submit does not work.  I later found that with one record if I populate one or
more of the fields with a large amout of text that the submit fails. On
multiple records if I clear the text fields the submit works as well.

Any ideas this was working code in CFMX 6.1 and is now broken in 7.02 . It
does not seem to be related to a form validation problem since I have tested
without the calls to _CF_checkOrderForm(_CF_this) -->>OrderForm is the name of
the Form
Ken Ford - *ACE* - 25 Nov 2007 15:03 GMT
What do you mean by "it will not submit"

Are you getting an error?

If you are getting an error, what is the exact error?

Signature

Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com

> We just upgraded to cfmx7. We are having a problem with CFFORM and text fields.
> When I have a form with a text field I am finding that if Ipopulate the field
[quoted text clipped - 28 lines]
> without the calls to _CF_checkOrderForm(_CF_this) -->>OrderForm is the name of
> the Form
WaveRunr - 25 Nov 2007 16:16 GMT
Ken,

I submitted an example a few threads up. When you press submit it validates
the form but does not call the action=script defined in the form. I do not get
an error. The validation does not get an error either. It just returns back to
the form . See my example above. It may be a browser problem but it worked
under 6.1. I am trying to find a way around this or a fix ....

Jeff
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.