Aha, the last one did the trick. Wonderful. thanks a lot. Cheers, linly
On 2月6日, 下午10時55分, The Editor <[email protected]> wrote: > On Fri, Feb 6, 2009 at 9:30 AM, Linly <[email protected]> wrote: > > I replaced the savedata to the new "info" function. My form is: > > > [form] > > [session info "field='{p}' value='ok' target='info.{p1}.{p2}'"] > > [submit] [form] > ... > > And the script.ok like this: > > > <:target:>info.{p1}.{p2} > > <:{p}:>ok > > <:info:>{p} > > Try this in script.ok > > <:info:>field='{p}' value='ok' target='info.{p1}.{p2}' > > If that's what you use in the form, that's what you use in the script. > Basically it's a shortcut, alt syntax for complete forms. You don't > need form tags, a submit button, and there can be no user input. But > otherwise the form remains unchanged. It's kind of like a macro > engine. > > However if all you are doing is saving an info variable, you don't > even need a script--try this right in action.ok, then call > [[{p}&action=ok|OK]] > > [(info field='{p}' value='ok' target='info.{p1}.{p2}')] > <(forward {p})> > > 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 -~----------~----~----~----~------~----~------~--~---
