Could this module work with Unique Field?

Rosamunda - June 14, 2009 - 15:32
Project:Matrix Field
Version:6.x-1.4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi!
I´m considering using this cool module for a list that I need my users to complete.
The thing is that some fields inside that list shouldn´t be repeated, I mean they should be unique compared to that same field inside that table, inside each node of the same type.

In example:
Nodetype: Profile
Fieldname: My credit cards
Table:
Type | Number | Due Date
Visa | 123456 | 02/2010

I need the fields type and number to not be able to be repeated when other user completes their own profiles. That functionality is able to be used with Unique Field module, when I can tell it to never accept the number cck field to be the same within user profiles, when matched with the same credit card type (another user could have an exact match but with another credit card type).

Could I user that functionality here?

Thanks!!!

ps. I know there is a 2.0 version of theim module that I´ve tried and got some errors (already reported), but I´m still using 1.0 that´s why I selected that version.

#1

aaron1234nz - July 6, 2009 - 09:10
Status:active» fixed

This is possible with version 2. You would need to write some custom code though. There is a hook you can implement to assist with the data validation. You cannot achieve this with version 1.4.

#2

Rosamunda - July 6, 2009 - 23:15

I see. Thanks!!

#3

System Message - July 20, 2009 - 23:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.