Home » Item #885
I got this error pasting in terms and conditions - how can I resolve?
Value is currently 32742 characters, but must be less than 4000.
With the config setting termsandconditionscheck set to y customers are expected to confirm agreement with the online sales terms and conditions as entered in the language string ContentText_TermsAndConditions.
However, some site owners are having trouble entering all of their terms into the single language string which holds a maximum of 4000 characters.
For MS Access users you could try setting the config setting LS_Value_AL length allowance to 33000 as the database string length uses a memo field type which can feasibly support that number of characters.
For non Access users you can add further language strings and split the entire text over a series if you do not want to change SQL field type to text.
Keep naming conventions consistent so for example:
ContentText_TermsAndConditions2
ContentText_TermsAndConditions3
ContentText_TermsAndConditions4
Take a note of id number values of any additional strings then edit script popupterms.asp, enter the ids as part of the Page Strings comma separated list and reference each in turn after the initial Terms And Conditions.