In my Confiform i used the "text" field which I mapped to the "description" in a jira Ticket. Because I wanted to see the hole text I changed the "text" field to "textfield" field. Here a user can also use a line break and doesnt have to enter the text on just 1 line. When a user uses this line break he gets an error message:
Could not prepare JSON: ............. Invalid format. Expected a ',' or '}' at 157 [character 37 line 9]
How can I still use the "textfield" without getting an error message.
Hi @Can Kilic
Consider using escapeJSON function to ensure the value that you accept from users are properly escaped and dont break your JSON
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.