Re: multi select validation from file
"Michel V." <michelv-YEE2qmtQORKfD/[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.user |
|---|---|
| Organization | Xarayhosting.nl |
| Message-ID | <[email protected]> |
Hey,
> And then these with semicolons. This is what is written to the DD table
> in the database: a:1:{i:0;s:1:"1";} or else nothing is written to the db
> and I get the error above.
>
> I was thinking "1" should be my items but I can't figure it out.
The value in the database is a so-called serialised value. This means a
way of writing an array of data. You can hardly get the actual value
from this by reading it with our human minds.
The error says that the validation is not taking the value you enter as
being valid.
Maybe someone can help with the exact syntax in the file that is needed
for the validation.
hth,
Michel