Ticket #2467: 10-Forms.txt.patch
| File 10-Forms.txt.patch, 0.7 kB (added by Carl.Vondrick, 11 months ago) |
|---|
-
10-Forms.txt
old new 845 845 846 846 In this example, the validator will look in the database for a record of class `User` where the `login` column has the same value as the field to validate. 847 847 848 >**CAUTION** 849 >sfPropelUniqueValidator is susceptible to race conditions. Although unlikely, in multiuser environments, the result may change the instant it returns. You should still be ready to handle a duplicate INSERT error. 850 848 851 #### File Validator 849 852 850 853 `sfFileValidator` applies format (an array of mime-types) and size constraints to file upload fields.