-
Notifications
You must be signed in to change notification settings - Fork 839
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
Add/remove properties in run-time #135
Comments
The demo was added. |
I cannot see the demo code when I follow that link - it appears not to load correctly. The other customization demos won't load for me either. |
@fabien Does this link work for you? http://editor.surveyjs.io/examples/addproperties.html#code Thank you, |
What if I want to remove the '*' in a matrixtype questionnaire? |
@LA95 Could you please describe your question in more details? Thank you, |
Two new methods have been added:
The property will be added into the class: className (string, case sensitive) and all it's descendants.
propertyDescription it can be string or json object.
For example: "mynewProperty" = {name: "mynewProperty"} the default type is string,
"mynewProperty:boolean" = {name: "mynewProperty", type: "boolean"}.
The following types are available:
"string" - default type, "boolean", "numeric", "text" (large text), "html", "itemvalues" (to edit ItemValue array).
The following example shows a string property with default value "off" and 3 choices "off", "top" and "bottom". Survey editor will use dropdown input to edit it.
The text was updated successfully, but these errors were encountered: