Forums

Read Data action output limited to 50 chars in length?

Erik66 11 Mar, 2022
I have a CF6 form which uses the output of a Read Data action as key/value pairs for a dropdown field. It appears as if the output of the Read Data is limited to 50 characters for each key or value. The visible output of the dropdown will not exceed 50 characters, regardless of the contents of the columns in the database.

Is this a 'built-in' limitation in the Read Data action, or a limitation of the dropdown field? I can not find a setting in either the action or the dropdown field where such a limitation can be set.
GreyHead 12 Mar, 2022
Hi Erik66,

There is no built-in limit on either as far as I know, though 50 characters lis a bit long for a typical drop-down.

I suggest that you first check the data in the table you are reading to make sure the full value is stored there. Then use the form Debugger to see what is being read and added to the drop-down.

Bob
Erik66 13 Mar, 2022
Thank you Greyhead, that pointed me in the right direction. Though I checked the database table in advance, I had missed the column length limitation that actually caused the issue.

Good to know Chronoforms does not limit the output of the Read Data action.

Tanks again, bye !

Erik
You need to login to be able to post a reply.