Forms: Increase the size of the form description field (allow longer text)

Created on 29 Jul 2020  路  5Comments  路  Source: nextcloud/forms

Nextcloud (please complete the following information):

  • Nextcloud-Version: 19.0.0
  • Forms-Version: 2.0.0

Please increase the field size of the form description. My use case is putting a legal agreement text into a form (a contributor license agreement, like the Software Freedom Conservancy uses).

Therefore I want to put the main contract text somewhere in the form, and the description seems like a good place, except that the content length is too great, and the text is currently truncated due to the arbitrary limit.

1. to develop enhancement 馃搼 form creation good first issue

Most helpful comment

Sure - it's small migration and a changed number in code.
Feels to me somehow a bit overkilled to set 8192 chars as maxlength, but seems indeed reasonable for such (specific) usecase... 馃憤

All 5 comments

Hey @samtuke,
Thank you for your feedback! - May i ask how long your description is? So which length would you expect to be able to fill in? Currently forms should allow 2048 chars on description, while the linked text is just ~1/4 of that?

Greets, :)
Jonas

Thanks for asking. Yes - in our case the length is 4,903.

FWIW this is the same CLA text used by ownCloud, phpList, and I guess some others.

@jotoeri doable?

Sure - it's small migration and a changed number in code.
Feels to me somehow a bit overkilled to set 8192 chars as maxlength, but seems indeed reasonable for such (specific) usecase... 馃憤

Awesome! Thanks!

Was this page helpful?
0 / 5 - 0 ratings