in reply to truncating form field input to 4000 characters

Hi,
Are you using any templates for handling UI(html)?.
if so, you can add  escape=html and  escape=js in the form fields in order to control the special characters. I guess the value gets truncated due to special characters.

-Kulls