We have a legacy system that will only accept a csv file for input. We are collecting that information through a K2 Smartforms and storing the information in SQL Server. If the field starts with a double quote and then has another double quote in the middle of the string the legacy system gets confused. Example: "Content they want to highlight" plus additional information.
I would like to add a validation error that catches this situation and provides guidance on how to enter the data differently.
Does anyone have any ideas on how can I detect that a field starts with a " and has a " somewhere in the middle of a field?