5t3ph / 5t3ph/gravity-forms-snippets

Doesn't work with different field sizes

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
23
Forks
6
PR merge metrics
No merged PRs in 30d

Description

If a form field is using a different form size, other than "medium", then the str_replace() fails to change anything. Perhaps turn this into a regx to allow for small|medium|large ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Look for the str_replace() call that applies Bootstrap classes to form fields. The issue mentions it fails for sizes other than 'medium'. Find where field sizes are defined in Gravity Forms and adjust the replacement to handle 'small', 'medium', 'large' via regex. Test with different field size settings to ensure classes are applied correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.