On Fri, 2004-08-13 at 16:13 +1000, Stuart Guthrie wrote:

> I'm all ears, unless I hear otherwise, I'll probably write the 'stack'
> technology.

I don't know that it's a "stack" problem. I can think of two ways to do
it:

1. Use the zany xml-rpc stuff in Javascript to do the query. This sounds
like a nice idea in theory but I don't know how compatible it would be.
Anyone played with this?

2. Have your lookup butt submit the data and set some magical flag that
says "I'm only searching, don't act on this data", which has the side
affect of committing your input to session data or whatever, so that it
can be used for default values the next time the page is loaded You'd do
the lookup when sending back your default data. Make your magic variable
a hidden input and have the 'lookup' button re-set that hidden variable
and then call submit on the form.

I've not explained that very clearly, but hopefully you'll get the gist
of it. Ask if you need clarification.

HTH,

James.

-- 
James Gregory <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to