Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get All attribute of questions when submit the form ? #154

Open
vivekbinarystorm opened this issue Dec 6, 2023 · 0 comments
Open

Comments

@vivekbinarystorm
Copy link

When we submit the form for questions at that time we get only this parameter. if I can add a custom attribute to the quetion then how can I get it?

{
"value": [
"Highly trainable"
],
"isValid": true,
"isAnswered": true,
"isPending": false,
"validationErr": null,
"isCorrectIncorrectScreenDisplayed": false,
"isLocked": false,
"blockName": "multiple-choice"
}

Custom attribute:

{
  name: "multiple-choice",
  id: "1",
  attributes: {
    required: true,
    label: "How trainable do you want your dog to be?",
    choices: [
      {
        label: "Highly trainable",
        value: "Highly trainable",
        id: "Highly trainable",
      },
      {
        label: "Easily trainable",
        value: "Easily trainable",
        id: "Easily trainable"
      },
   ]
  }
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant