joe_g Posted December 20, 2016 Share Posted December 20, 2016 Hi there, Is there a way to avoid text fields getting trimmed? I'd like the possibility to start with two blank returns in textfield. Odd request, I know... Link to comment Share on other sites More sharing options...
kixe Posted December 21, 2016 Share Posted December 21, 2016 @joe_g Setting 'Maximum length' to '0' (indicates no maximum) under the 'Input' tab in the textfield setup will do the trick. Works for inputfieldText, but not for InputfieldTextarea. Setting 'Maximum length' to '0' is not meant for this and the missing trim() in InputfieldText::setAttributeValue() could be added in future PW versions. If you need the spaces in the output in general, its better to add via template file. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now