I think there are other usecases where form creator will want to "guess"
default values for some fields based on the title. Since form is a wiki
page, it can use parser functions like #if or others to add some more
dynamic logic to the form.
Sergey
--
Sergey Chernyshev
http://www.sergeychernyshev.com/
On Mon, Mar 23, 2009 at 11:49 AM, Yaron Koren <[email protected]> wrote:
> There's no way to include the page name in the form definition, although
> this might be an argument for enabling that functionality... though I should
> note that this won't help the majority of pages, other than the ones called
> "Sao Paolo, Brazil" and the like.
>
> -Yaron
>
>
> On Sun, Mar 22, 2009 at 2:05 PM, tosfos <[email protected]> wrote:
>
>>
>> This sounds like a great idea. I didn't think of that. Good luck!
>>
>> On Mar 20, 5:19 pm, Sergey Chernyshev <[email protected]>
>> wrote:
>> > I feel even stupider now when I realized that it doesn't work and I just
>> hit
>> > existing page ;)
>> >
>> > Yaron, is there any way to know which page name was requested to create
>> a
>> > document?
>> >
>> > Thank you,
>> >
>> > Sergey
>> >
>> > --
>> > Sergey Chernyshevhttp://www.sergeychernyshev.com/
>> >
>> > On Fri, Mar 20, 2009 at 5:11 PM, Sergey Chernyshev <
>> >
>> > [email protected]> wrote:
>> > > I just realized that one can use Google Geocoder extension to populate
>> > > default value into Semantic Google Maps' interface (in case page name
>> can be
>> > > used as a default lookup query, obviously):
>> >
>> > > {{{field|geo|input type=googlemap|default={{#geocode:{{PAGENAME}}}}}}}
>> >
>> > > Hope this is useful. I wonder if anyone thought about this usage
>> already
>> > > and feel stupid as this is what Geocoder was originally created for on
>> > > TechPresentations and wasn't used like this till 5 minutes ago ;)
>> >
>> > > Sergey
>> >
>> > > --
>> > > Sergey Chernyshev
>> > >http://www.sergeychernyshev.com/
>>
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---