[resolved] How to limit the input of a profile field type multiline text box?
-
I’m using BP custom profile fields to make a directory of professionals. I use a multiline text box for a description field. Now I want to limit the amount of characters one can type in this field. It would be nice if this can be done the same way as Gravity Forms does it. But if that is not possible or too complicated, I will settle for a second best option i.e. limiting the amount of characters that is written to the database with some simple substring / length php processing on the data before it is submitted to the database.
Can anyone shed some light on posible ways to do this? Are there any BP hooks or functions I can use to accomplish this?
Another question: is there any filtering on the profile fields to prevent sql injection?
- The topic ‘[resolved] How to limit the input of a profile field type multiline text box?’ is closed to new replies.