AnsweredAssumed Answered

How do I limit the length of textfield input?

Question asked by Craig Wilson on Mar 5, 2018
Latest reply on Mar 6, 2018 by Rolustech Support

In the Contacts module, I am trying to limit the primary_address_street field to 3 lines, each of which can be no longer than 30 characters.

 

I tried to add some custom code to record.js, but I was unable to determine how to manipulate the DOM reliably enough to prevent further input beyond this max threshold.

 

Is there a way to make sure this field has 3 lines of 30 characters each, max, and prevent input beyond that?

Outcomes