Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Mini query inside a form
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ben  
View profile  
 More options Jul 1, 3:06 am
From: ben <benjamin.ar...@dsto.defence.gov.au>
Date: Wed, 1 Jul 2009 00:06:10 -0700 (PDT)
Local: Wed, Jul 1 2009 3:06 am
Subject: Mini query inside a form
I am creating a wiki that has a wiki pages of tests.  Test pages
automatically have a page name of test ID to ensure that each has a
unique name.  They also have a name and description.  They are created
with a semantic form.

When an article is tested and users enter the results through a
semantic form, they need to specify the ID of what test was conducted
on the test article.  Because the test ID is a meaningless number,
users cannot be expected to remember it.  Is there a way to put a mini
query on the form page where they can select test_name and
test_description and the test ID is automatically populated from that
info?

As you can see below, they can select from the list of tests, but all
they see is (test1,test2,test3,etc.)
---------------------------

{{#forminput:Results}}

</noinclude><includeonly>
=Main=
{{{for template|Results}}}
{| class="formtable"
! Asscociated Test:
| {{{field|Asscociated Test|values from category=Test}}}
|-

--------------

From what I have seen so far, I do not think this functionality exists
but would like to confirm.  I have tried #sask. Drilldown requires to
exit the form into another page.
Thanks in advance
Ben


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yaron Koren  
View profile  
 More options Jul 1, 3:01 pm
From: Yaron Koren <yaro...@gmail.com>
Date: Wed, 1 Jul 2009 15:01:40 -0400
Local: Wed, Jul 1 2009 3:01 pm
Subject: Re: [Semantic Forms] Mini query inside a form

No, there's no way to do that. You might consider having a "query form"
instead, using RunQuery, that lets people look up a specific test name, and
have the template associated with that form say something like, "if the test
you're looking for was not found, you can add it here:". Below that, you
could have a #formlink or #forminput (it wasn't clear whether you're using
automatic page names or not), with the name they entered as a pre-loaded
value going to the form.

I hope that all made sense. :)

-Yaron

On Wed, Jul 1, 2009 at 3:06 AM, ben <benjamin.ar...@dsto.defence.gov.au>wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arber, Benjamin (Contractor)  
View profile  
 More options Jul 1, 10:20 pm
From: "Arber, Benjamin (Contractor)" <Benjamin.Ar...@dsto.defence.gov.au>
Date: Thu, 2 Jul 2009 12:20:53 +1000
Local: Wed, Jul 1 2009 10:20 pm
Subject: RE: [Semantic Forms] Re: Mini query inside a form

Thanks Yaron and Gu for your fast replies.  It appears from looking at
'Run Query' example on DiscourseDB that it queries load in a separate
form.  I would also need "values by property" as Gu suggested but I
would rather not have to maintain modified source code.

I think the best solution seems to be one using SQFT which I am
discussing on:
http://www.mediawiki.org/wiki/Extension_talk:SemanticQueryFormTool#Enter
_a_property_in_SQFT_and_find_what_page_it_appears_on.
It looks like it should work but I am having some errors.

It will hopefully be a small SQFT form that I can put under my Main
Semantic form.  It would not autofill the values but at least users can
easilly find the ID required without navigating away from the page.

Ben

________________________________

From: semantic-forms@googlegroups.com
[mailto:semantic-forms@googlegroups.com] On Behalf Of Yaron Koren
Sent: Thursday, 2 July 2009 5:02 AM
To: semantic-forms@googlegroups.com
Subject: [Semantic Forms] Re: Mini query inside a form

No, there's no way to do that. You might consider having a "query form"
instead, using RunQuery, that lets people look up a specific test name,
and have the template associated with that form say something like, "if
the test you're looking for was not found, you can add it here:". Below
that, you could have a #formlink or #forminput (it wasn't clear whether
you're using automatic page names or not), with the name they entered as
a pre-loaded value going to the form.

I hope that all made sense. :)

-Yaron

-----------------------------
Well the SF Google group doesn't like my mails for some reason, so I'll
send my reply again to you.

>Isn't there an 'autocomplete on property' option? Maybe that helps.
>I don't use SF a lot but I came also to the point where I needed to use
>in a field values from a specific normal or multi-value property. I
>added a 'values from property' option for fields (which uses #sask:
>from SQFT to provide the list of property values). It's only a few line
>modification but of course a hack of the source code and not in the
>official SF release.
>Gu

On Wed, Jul 1, 2009 at 3:06 AM, ben <benjamin.ar...@dsto.defence.gov.au>
wrote:

        I am creating a wiki that has a wiki pages of tests.  Test pages
        automatically have a page name of test ID to ensure that each
has a
        unique name.  They also have a name and description.  They are
created
        with a semantic form.

        When an article is tested and users enter the results through a
        semantic form, they need to specify the ID of what test was
conducted
        on the test article.  Because the test ID is a meaningless
number,
        users cannot be expected to remember it.  Is there a way to put
a mini
        query on the form page where they can select test_name and
        test_description and the test ID is automatically populated from
that
        info?

        As you can see below, they can select from the list of tests,
but all
        they see is (test1,test2,test3,etc.)
        ---------------------------

        {{#forminput:Results}}

        </noinclude><includeonly>
        =Main=
        {{{for template|Results}}}
        {| class="formtable"
        ! Asscociated Test:
        | {{{field|Asscociated Test|values from category=Test}}}
        |-

        --------------

        From what I have seen so far, I do not think this functionality
exists
        but would like to confirm.  I have tried #sask. Drilldown
requires to
        exit the form into another page.
        Thanks in advance
        Ben

IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914.  If you have received this email in error, you are requested to contact the sender and delete the email.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google