A WordPress plugin that Adds Ninja Forms functionality to WPGraphQL schema.
WARNING: this plugin is under development and it's not production ready!
{
form(id: "1", idType: DATABASE_ID) {
title,
fields {
nodes {
fieldId
label
type
}
}
}
}
{
submitForm(input: {formId: 1, data: [
{id: 1, value: "Julius"},
{id: 2, value: "julius@test.com"},
{id: 3, value: "Hello there"}
]}) {
errors {
fieldId
message
slug
}
message
success
}
}