5t3ph / 5t3ph/gravity-forms-snippets

Button text doesn't retain setting for label

Aperta
#5 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
23
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
php
Ambito
frontend
Tipo di issue
Bug
Difficoltà
1/5
Tempo stimato
Meno di un'ora
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
40/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.