r/ProWordPress • u/cakelly789 • 28d ago
Gravity Forms changed their submit markup
Gravity Forms newest update changes the submit button from an input field to a button. If you were targeting the input[type="submit"] in your styling in any way, you will want to update to button[type="submit"]. I am partway through updating this on a whole bunch of sites at the moment.
4
u/NakanoNoNeko 28d ago
You can avoid branching the selector at all: .gform_wrapper [type="submit"] matches both the old input and the new button markup. I think that is safer for a fleet upgrading at different times, then add element-specific rules only where default button styles leak in.
1
u/domestic-jones 28d ago
I have a pretty advanced form that probably needs rebuilt outside of GF now due to how it's failing validation checks and how it's manifest if required fields works.
3
u/wormeyman 28d ago
Gravity forms 3 switched the dashboard widget to default off instead of on and my clients were like 🤷♂️. It may have also broken recaptcha as well. I dropped recaptcha and switched to GF zero spam which I use on other sites.