-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On 2009-07-30 19:58, Na JeVi wrote:
> I read that "input type=year" was added at Semantic Forms v1.4
> I am using v1.5.1 (at Wikia)
>
> Demo form:
> http://smwtest.wikia.com/wiki/Special:AddData/Demo_input_types/Test2
>
> I tried "input type=Year" and "input type=year" but in both cases the field
> seems to be treated just like a text input field.
I think it's important to note, that the 'default=now' mechanism doesn't
work. The field will just contain the string 'now', instead of the current year.
What definitely works (at least on my SF 1.8.1 installation): The field
length gets automatically reduced so that it's suitable for a four-digit number.
Patrick.
- --
Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpxp/UACgkQyYHmhobjRtSwaACfb+ShnCr1Nk5H7PXriEysWjmj
2dcAoM46XlDAOOBRGS36P2ssXWzNi0td
=3IVz
-----END PGP SIGNATURE-----
|