I have a field in the Item Details tab set to the paragraph data type. It will map to our ERP system. Our ERP system cannot have more than 50 characters per line, but has unlimited lines. I tried setting the display width to 50; but that does not seem to do anything in the interface. How can I auto wrap a paragraph field after 50 characters?
Solved! Go to Solution.
Solved by philipfrench. Go to Solution.
You cannot.
You could write on-edit script to parse the HTML in the paragraph field, remove the tags, chop the lines at 50 chars, and write the updated values back to the field.
But that is going to be a very weird experience for the user, having his input corrupted every time he saves.
Could you use the grid tab, with a single column of string field length 50 chars?
I think your best result will be to remove the html formatting and chop the lines, in the integration as you write it to ERP.
Solution accepted. For the integration (a phase two project), would I just look for the 50th character then backup until I find a space and chop there?
Can't find what you're looking for? Ask the community or share your knowledge.