Hello, i'm a beginner in symfony, but now i'm working on the website, and still cannot figure out how to make it working. What i need to do is a plain structure with one unique index (for ordering), but some of the records are allowed to have NULL in that field. So, when i create a form, it works fine, but it fails validation of that field when user does not enter any value (when it supposed to be NULL), saying that "There is already a record with such value". The question is - what validator i should use, or maybe there are some options or customizations? I know that it could be easier to split it on 2 tables, where the second one wouldnt have an ordering unique index, but i decided to ask to a more experienced users :) Any help appreciated.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---