From: Patrick Nagel <mail@pa...> - 2009-07-30 14:02:57
-----BEGIN PGP SIGNED MESSAGE-----
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:
> 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.
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
-----END PGP SIGNATURE-----