Comments (4)
Hello Justle, this is my personal Github account, the OP is my work account.
I want to correct some details, my Gravity forms is 2.6.7, WP Graphql for Gravity forms is now 0.11.7 as I just updated and tested again.
I also want to clarify that its not that "Its still being submitted when required consents are unchecked", but even when I do value as "false" it shows up on the backend as "Yes this is ticked"
from wp-graphql-gravity-forms.
Hey @TomDoFuture 👋 and thanks for taking the time to report! I'm trying to replicate now.
Can you please confirm what version of WPGraphQL for Gravity Forms
(it should be v0.11.7
) and Gravity Forms
you're using (it needs to be at least v2.5.x
, but we recommend using the latest version of that as well )?
from wp-graphql-gravity-forms.
On further review, the issue seems to be with the documentation, which seems wasn't correctly updated in the v0.10 release.
The consentValue
input was intentionally replaced with value
in v0.10.0
(#196), in order to make it easier to use and bring it in line with how `Gravity Forms behaves natively.
Any truthy string sent via value
(GF native defaults to using the checkbox label) will mark the field value true
, with an empty string or - better yet - leaving the field off the fieldValues
mutation input array marking the field value false
.
Here's an example for a consent field that one is not required to accept.
And when I change the field so it is required, it correctly returns an error message, as the user is required to consent.
I'll get to work fixing the docs ASAP - let me know if you have further thoughts and questions.
from wp-graphql-gravity-forms.
Fixed via bf84420
from wp-graphql-gravity-forms.
Related Issues (20)
- Address Field Enum for State / Province when `addressType` is US or Canada respectively HOT 3
- No Proper error messages on the last page HOT 1
- Unclear Documentation : List fields HOT 2
- Breaks with WPGraphQL v1.13+ HOT 2
- GF 2.6.8 breaks multifile upload support.
- [Feature Request] Support GF reCAPTCHA v3 add-on HOT 3
- IP is replaced with sourceUrl in entryMeta when submitting entry HOT 1
- Single file upload FAILED (Temporary file could not be copied.) HOT 6
- Docs: Add `productValues` usage docs
- Enum names break schema in some languages HOT 27
- Issue updating plugin from Wordpress's Plugin interface HOT 3
- defaultValue for Email field doesn't work HOT 7
- Filtering Query by pageNumber HOT 3
- How can i show form entries to non-auth users? HOT 1
- Support for Polls Add-On HOT 1
- Cannot query field "isHidden" on type "GfFieldInput". Did you mean to use an inline fragment on "GfFieldInputWithAddressSetting"... HOT 5
- Composer install causes fatal error HOT 4
- Honeypot functionality is not working HOT 1
- plugin doesnt use top level vendor folder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-graphql-gravity-forms.