Automattic / Automattic/jetpack

Forms: None of the text field have length restriction setting in any of the forms

Open
#41,243 2 comments 0 reactions 0 assignees View on GitHub
[Block] Form [Feature] Forms Blocks [Package] Forms Customer Report [LEGACY] Enhancement New Feature OSS Citizen
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

None of the fields have length setting in any of the forms, for example - Appointment form, Name, Message etc has no length restriction

What
A setting to limit the length of the fields would be a nice feature for non-technical users who cannot use CSS classes. this could be a very basic limit, like Typography which lets you update the text size from small to large

Why
Not all users would be technical enough to use CSS class etc

How
Add a Field Length restrictions section in the field setting right menu. This can be done for fields from 50 to 100 for text fields, and 200 characters for text blocks. This need not be very robust a basic restriction will also add value

**Additional context**
Add any other context or screenshots about the feature request here.
![image](https://user-images.githubusercontent.com/8281027/116847443-a3bdb200-ac3e-11eb-8da3-ad743570f4f6.png)

Contributor guide

Open the contributing guide

Research direction

Start by tracing the form field settings UI and the Appointment, Name, Message, and text-block fields described in the issue. Define completion as a basic configurable character limit appearing in the right-side field settings and applying to the relevant text fields, with scope confirmed before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.