function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GeorgeTrommelenGeorgeTrommelen 

Urgent ; Field Adres street in 2 lines

In the filed Street it is possible to use a rule end so the address comes over to lines.
Does anybody know how to prevent this?
 
We use an API call to an older backend system and a rule end creates major problems, we want to prevent this on both sides.
 
George
JakesterJakester
I assume you mean you only want a one-line address. I looked into this (well, actually I wanted to prevent 4 or more lines, but it's the same idea) and I couldn't find a way to do it. I'd guess that it would be possible by creating an Apex trigger, though. That requires coding knowledge, so if you don't have that I'd recommend the good folks at www.ezsaas.com - they've done work for me before and I've been extremely pleased with the results.
GeorgeTrommelenGeorgeTrommelen
Thanks Jakester,
 
We coded this for the time being on the backend system tot replace $0A$  with a space.
 
George