New RunQuery

3 views
Skip to first unread message

mitchelln

unread,
Jun 16, 2009, 6:46:57 AM6/16/09
to Semantic Forms
Firstly I'd like to say that is fantastic that you have added this
functionality. My users invariably ask for this after using the site.

A couple of quick questions if I may. Do the fields auto complete as
they do in a normal form?

Are you considering providing drop downs for the fields? This would be
really cool. A user could then very easily see what property values
are available to query on.

Many thanks
Neill..

mitchelln

unread,
Jun 16, 2009, 6:49:23 AM6/16/09
to Semantic Forms
Of course auto complete works :) I should have tried before posting.

Yaron Koren

unread,
Jun 16, 2009, 9:40:50 AM6/16/09
to semanti...@googlegroups.com
Dropdowns also work - you implement them the same way you would in forms to add and edit data - either with a "values" parameter or using a property that has "allowed values". Basically, the query forms work exactly the same as other forms; the only difference is whether the output of the form gets saved to a page, or just displayed on the screen.

-Yaron

Patrick Nagel

unread,
Jul 13, 2009, 8:54:17 PM7/13/09
to semanti...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 2009-06-16 21:40, Yaron Koren wrote:
> Dropdowns also work - you implement them the same way you would in forms to
> add and edit data - either with a "values" parameter or using a property
> that has "allowed values". Basically, the query forms work exactly the same
> as other forms; the only difference is whether the output of the form gets
> saved to a page, or just displayed on the screen.

Being able to use the same tools for making query forms as for making
input/edit forms is so cool :) Moreover, you can do whatever you want with the
query's output, since it's an ordinary inline query... Just tried it
yesterday, it's awesome.
This will be the feature that will save me from creating a million query pages
(all with slightly different criteria), in order to save my users from having
to "learn" the SMW inline query language.

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

iEYEARECAAYFAkpb1zkACgkQyYHmhobjRtTNkACfciz+EdstlTrIfYh1JTaJVxwI
YbEAn07B1l1c4bChZmeurZOxb6ROojIW
=pPgF
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages