question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

isRequired for each cell of a matrix dynamic row

See original GitHub issue

Are you requesting a feature, reporting a bug or asking a question?

question

What is the current behavior?

isrequired property is present for question level

What is the expected behavior?

In a matrix dynamic, how can I assign required fields for each cell in a row?

How would you reproduce the current behavior (if this is a bug)?

Provide the test code and the tested page URL (if applicable)

Tested page URL:

Test code { pages: [ { name: "page1", elements: [ { type: "matrixdynamic", name: "ComplexMedicalNeeds", titleLocation: "hidden", columns: [ { name: "Date", cellType: "datepicker", dateFormat: "mm/dd/yy", config: { showOn: "button", buttonImage: "assets/icons/date.svg", buttonImageOnly: true, buttonText: "Select date", maxDate: "+0D" }, inputType: "date" }, { name: "Narrative", cellType: "comment", maxLength: 2000, validators: [ { type: "text", allowDigits: true, minLength: 0, maxLength: 2000 } ] }, { name: "Actions", visibleIf: "1 = 2" } ], cellType: "text", rowCount: 0, addRowLocation: "top", addRowText: "ADD COMPLEX NEED +", removeRowText: " ", confirmDelete: true, confirmDeleteText: "Are you sure you want to delete medical/nursing needs record?" } ] } ], showTitle: false, showQuestionNumbers: "off", questionErrorLocation: "bottom" }

your_code_here

Specify your

  • browser: chrome
  • browser version:
  • surveyjs platform (angular or react or jquery or knockout or vue): angular 5
  • surveyjs version: 1.0.35

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ashygkcommented, Aug 2, 2018

@dmitrykurmanov Thanks. I have tried the above example with the onMatrixBeforeRowAdded event and works.

0reactions
dmitrykurmanovcommented, Aug 2, 2018

We’ve published 1.0.36, fix is available now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

isRequired for each cell of a matrix dynamic row #1255 - GitHub
In a matrix dynamic, how can I assign required fields for each cell in a row? How would you reproduce the current behavior...
Read more >
Minimum operations required to make each row and column ...
Given a square matrix of size N X N. Find a minimum number of operations that are required such that the sum of...
Read more >
How do you dynamically allocate a matrix? - Stack Overflow
This solution has the advantage of allocating a single big block of memory for all the elements, instead of several little chunks. The...
Read more >
Dynamic Programming - Problems involving Grids | HackerEarth
Finding the Minimum Cost Path in a Grid when a Cost Matrix is given. ... Here, each cell in topmost row can be...
Read more >
Excel dynamic arrays, functions and formulas - Ablebits
WRAPCOLS - converts a row or column into a 2D array based on the ... In dynamic Excel, the same formula processes all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found