Question
CFFORM Problems
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 - BTW - I am testing with IE6 FireFox seems to work OK.
---------------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 - BTW - I am testing with IE6 FireFox seems to work OK.