No, by its nature free text can't be queried, or formatted. The most obvious solution I can think of is to do away with the free text and create a new template field that holds whatever you wanted the free text to be used for. -Yaron
On Fri, Jan 16, 2009 at 12:39 PM, Alex Le Bek <[email protected]>wrote: > Ok - but is there a way for me to css position it explicitly eg a {{{free > text}}} param to refer to? Otherwise it seems like I am leaving a lot to > chance for a very important part of the article content. Users are really > enthusiastic about Semantic forms and all it brings them - but also don't > want to sacrifice the freedom to add their own non prescriptive content. > Many thanks, > > Alex > > > On Fri, Jan 16, 2009 at 3:29 PM, Yaron Koren <[email protected]> wrote: > >> Hi, >> Well, if the layout is correct in the wiki text, then it's not a Semantic >> Forms issue; it's an HTML/CSS issue of one kind or another. >> >> -Yaron >> >> >> On Fri, Jan 16, 2009 at 2:41 AM, Alex Le Bek <[email protected]>wrote: >> >>> Hi Yaron, >>> >>> I am on SF 1.4.1, SMW 1.3, MW 1.13.0 >>> >>> The free text sentence is where I thought it should be in the generated >>> wikitext : >>> {{X >>> ... >>> }} >>> My other thoughts are [[Top tip::Eat well and sleep well]] >>> {{Y >>> ... >>> }} >>> >>> so I can't see why it doesn't sit in the flow of the document but nor can >>> I see how to control it's position properly. Is this what I should be doing >>> (in principle) to pick up any extra article content - for example, to manage >>> content added via 'edit' to a page which also contains form generated >>> content' ? >>> >>> Many thanks >>> >>> Alex >>> >>> >>> >>> >>> >>> On Fri, Jan 16, 2009 at 3:39 AM, Yaron Koren <[email protected]> wrote: >>> >>>> Hi, >>>> That doesn't sound good... though I really should have asked a more >>>> basic question, which is: in the wiki source of that page, does the free >>>> text sentence also show up before both templates? >>>> >>>> And if so, what version of SF are you using? >>>> >>>> -Yaron >>>> >>>> >>>> On Thu, Jan 15, 2009 at 3:11 PM, Alex Le Bek >>>> <[email protected]>wrote: >>>> >>>>> Hi Yaron, >>>>> >>>>> Thanks for coming back to me on this. >>>>> >>>>> I have the Form:F: >>>>> >>>>> {{{for template|X...}}} >>>>> some stuff >>>>> {{{end template}}} >>>>> >>>>> {| >>>>> |'''Other content for this article''' >>>>> |- >>>>> |{{{standard input|free text}}} >>>>> |} >>>>> >>>>> {{{for template|Y...}}} >>>>> some stuff >>>>> {{{end template}}} >>>>> >>>>> The Template:X which generates the html is like this: >>>>> >>>>> <div class="MainInfobox"> >>>>> ...asserts all the semantics etc in the form... >>>>> </div> >>>>> >>>>> On the form I enter this text into free text: >>>>> >>>>> 'My other thoughts are [[Top tip::Eat well and sleep well]]' >>>>> >>>>> In the actual HTML of the generated page I get this : >>>>> >>>>> <p><br /> >>>>> >>>>> My other thoughts are Eat well and sleep well >>>>> </p><p><br /> >>>>> >>>>> </p> >>>>> >>>>> <div class="MainInfobox" style="margin-bottom:3px;">...</div> >>>>> >>>>> >>>>> How does the free text know where to go? I thought it might end up >>>>> floating about under the div but before the contents of Template:Y are >>>>> generated. Have I missed a way to say where it should be as with an >>>>> ordinary field? I now realize I don't understand the purpose of free text >>>>> - >>>>> couldn't I just use a {{{field...|input type=textarea}}} ? Sorry for this >>>>> basic question but I need to be sure I have the 'free text' facility >>>>> correctly available on a site which has become(for good reason!) very >>>>> forms >>>>> driven. >>>>> >>>>> Thanks >>>>> Alex >>>>> >>>>> >>>>> >>>>> >>>>> On Thu, Jan 15, 2009 at 7:00 PM, Yaron Koren <[email protected]>wrote: >>>>> >>>>>> Hi, >>>>>> Can you clarify: does the free-text input appear in the wrong place in >>>>>> the HTML itself, or only in the page where the HTML is rendered? >>>>>> >>>>>> -Yaron >>>>>> >>>>>> >>>>>> On Thu, Jan 15, 2009 at 5:53 AM, Alex Le Bek < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I cannot see a way to control the position of the {{{standard input| >>>>>>> free text}}} content. >>>>>>> >>>>>>> {{{standard input| free text}}} is positioned in my form (after an >>>>>>> {{{end template}}} and before the next {{{for template...}}} but >>>>>>> appears at >>>>>>> the top of the resulting page content and outside of the containing >>>>>>> div. Is >>>>>>> there a way to refer to this content in the template and explicitly lay >>>>>>> it >>>>>>> out? >>>>>>> >>>>>>> Thanks >>>>>>> Alex >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
