5t3ph / 5t3ph/gravity-forms-snippets
Button text doesn't retain setting for label
Open
- Dominant language
- PHP
- Stars
- 23
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Label for the button is set to "Submit" rather than keeping the setting on the form.
Changing to `{$form['button']['text']}` appears to work ok.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue mentions a button label not retaining the form setting, suggesting a fix using `{$form['button']['text']}`. Look for the file where button text is rendered, likely in a template or snippet that applies Bootstrap classes. Check if the current code hardcodes "Submit" and replace it with the dynamic variable. Test by creating a form with a custom button label to verify the change works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 40/100