{ "fieldGroupName": "DefaultTemplate_Flexiblecontentmodules_ContentModule_Form", "formTitle": "Title", "formText": "Text", "formBackgroundColor": "black", "formId": "1", "title": "Home", "uri": "/", "slug": "home" }
mutation SubmitForm($NUMBER7Value: String, $PHONE10Value: String, $TEXT1Value: String, $TEXTAREA2Value: String, $WEBSITE3Value: String, $EMAIL4Value: String, $EMAIL4ConfirmationValue: String, $HIDDEN8Value: String, $RADIO11Value: String, $CONSENT12Value: String) { submitGfForm( input: { id: 1 fieldValues: [{ id: 7 value: $NUMBER7Value } { id: 10 value: $PHONE10Value } { id: 1 value: $TEXT1Value } { id: 2 value: $TEXTAREA2Value } { id: 3 value: $WEBSITE3Value } { id: 4 emailValues: { value: $EMAIL4Value confirmationValue: $EMAIL4ConfirmationValue } } { id: 8 value: $HIDDEN8Value } { id: 11 value: $RADIO11Value } { id: 12 value: $CONSENT12Value }] saveAsDraft: false sourcePage: 1 targetPage: 0 } ) { confirmation { type message # The message HTML - if the confirmation type is a "MESSAGE". url # The redirect URL - if the confirmation type is a "REDIRECT". } errors { id # The field that failed validation. message } entry { # See docs on querying Entries. id ... on GfSubmittedEntry { databaseId } ... on GfDraftEntry { resumeToken } } } }