How can we make each row in Matrix Dynamique widget be unique - different from the other?

  • Profile Image
    bbcflagfootball
    Asked on March 14, 2015 at 11:28 AM

    When I insert a table/matrix into a form there are three options in the properties regarding what can be required in the rows/cells, and the one option I need seems to be missing. I am trying to avoid having users put the same answer in every row. Is that possible to do? How can I do it? Thanks.

  • Profile Image
    raul
    Answered on March 14, 2015 at 04:12 PM

    I was unable to see your recent forms since they're disabled now, but from what I understand you want to prevent your users to enter the same text on a matrix dynamique widget, is that correct?

    If so, unfortunately, this is not possible to achieve within the form builder. On this case, you would need to use the full source code of your form and use a custom script similar to the one provided here: http://codereview.stackexchange.com/questions/60128/removing-duplicates-from-an-array-quickly to find duplicates on the fields on the table.

    If you require further assistance, please let us know.
    Best Regards.

  • Profile Image
    bbcflagfootball
    Answered on March 15, 2015 at 01:34 AM

    Thank you.

  • Profile Image
    Ben
    Answered on March 15, 2015 at 02:44 AM

    In my colleague's name you are welcome.