On Mar 20, 12:32 am, The Editor <[email protected]> wrote: > On Fri, Mar 19, 2010 at 7:28 PM, Markus <[email protected]> wrote: > > I am playing with fmt in forms. You know the form already: > > > [form] > > [text txt '{?txt}' size=30] [submit Search] > > [session search "text='{=txt}' group=some.* order=reverse fmt='[r][c > > style=???width:150px;???]>>{+p4}.{+p3}.{+p2} – {+p5}:{+p6}>>[c][[{+p}| > > +]]'"] > > [session passdata txt] > > [session msg] > > [form][if set {?txt}] > > [t] > > [results] > > [t][if]
Even when I remove the style, I don't get the closing table tag. Which is quite bad. The table displays fine but the layout breaks because the table is open-end. > > One easily runs out of ' and ". I will create a CSS class for the ??? > > style part so it's not a problem now. But as you plan to rework forms, > > you might want to keep this in mind. Seems as if some matching would > > be nice. Then one could use as many ' as one wishes. Or if the outer " > > " were no longer needed that would solve this, too. > > No easy solution here. If there are no spaces you could try this and > it should work. > > style=width:150px; > > The other option might be to pass the parameters to a function using > passdata and then run the search that way. Often is easier--and it > will save you one level of quote marks. :) > > Cheers, > Dan -- You received this message because you are subscribed to the Google Groups "BoltWire" 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/boltwire?hl=en.
