Re: list (form data) to Record
Re: list (form data) to Record
- Subject: Re: list (form data) to Record
- From: Simon Forster <email@hidden>
- Date: Thu, 01 Mar 2001 08:47:59 +0000
>
From: Daniel Shockley <email@hidden>
>
However, I tried it as follows and got a disappointing result - I'm not sure
>
why:
...
>
listToRecord({"firstName", "Dan", "lastName", "Shockley"})
>
-- returns {|firstName|:"Dan", |lastName|:"Shockley"}
It would appear that you have to use all lowercase letters for property
names - at least using Olof's method.
firstname
first_name
are OK
firstName
fiRstname
FIRSTNAME
are not.
Is this an intrinsic limitation to property names? I'll check it later.
Simon Forster
________________________________________________
LDML Ltd, 28 Montgomery Road, London, W4 5LZ, UK
<tel int="+44 20 8995 5694" uk="020 8995 5694">
<fax int="+44 20 8995 6013" uk="020 8995 6013">
<
mailto:email@hidden>
________________________________________________