Thanks for the bug report. This is a real bug, and it looks like it affected the old "values=" parameter as well, for Page properties; that one apparently wasn't a popular combination. It'll be fixed in the next version. For now, you can get around it by setting "input type=radiobutton".
-Yaron On Tue, Dec 23, 2008 at 10:25 PM, Patrick Nagel <[email protected]>wrote: > > Hi Yaron, > > thanks for the new version! > > [...] > > - Two new parameters, "values from category=" and "values from concept=" > > have been added to field declarations within form definitions. These > > fulfill a request that's been around since nearly the beginning of the > > extension: the ability to have a dropdown (or radiobutton) composed of > > the names of pages in a category, or of the values returned by a query. > > I'd long resisted this idea, on the grounds that if values are just > > coming from a category or query, the user should be able to enter their > > own values as well; but it's true that a dropdown, as inflexible an > > input as it is, is also a lot easier to use than an autocompletion > > entry; > [...] > > Great decision. This is especially helpful with categories that just have a > handful of pages in them, and typing in the name (even with autocompletion) > just seems unreasonable to some users (especially those who like to use > their > mouse) :) > > This new feature seems to have one small issue though: When a property > where > the type is set to 'Page' explicitly is being filled by the form, the field > shows up just as a normal text entry for me. You can have a look at > > http://patrick-nagel.net/wiki/Form:Test_values_from_category > http://patrick-nagel.net/wiki/Template:Test_values_from_category > and > http://patrick-nagel.net/wiki/Property:Test_values_from_category > > Patrick. > > -- > Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc > Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4 > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
