Re: Submitting input-form data to server

Henning G. Schulzrinne ([email protected])
Sun, 5 Sep 93 21:57:32 EDT


Pei Wei writes:

> Definitely worthwhile. Now, a question is, should we add another
> attribute into the INPUT element to specify the local default-variable?
> Or do we overload the "name" attribute to be both the INPUT identifier
> *and* the default variable identifier?
>
> It seems safer if we keep the default-variable identifiers in their own
> name space... So, I'd suggest that another attribute (say, "localvar")
> be added into the INPUT element. (more HTML+ tweaking!)
>
> This way, you'd say ``<INPUT name="org" localvar="ORGANIZATION">'',
> and the local default value
> the environment variable "ORGANIZATION".
>
I'm not sure that's really necessary since the variable name wouldn't
be displayed, so a single name space seems ok. (I'm thinking of
multilingual forms here, which for automated processing.) I envision using a table read by the client
with default mappings from name to local value.

Is there a good case where the same 'name' would result in two
different 'localvar'?

I'd like to keep this simple initially, since we really don't have a
whole lot of experience with forms-over-the-net. The simpler, the more
likely we get the parsers/translators right, not just within Xmosaic.

Henning

---
Henning Schulzrinne ([email protected])
AT&T Bell Laboratories  (MH 2A-244)
600 Mountain Ave; Murray Hill, NJ 07974
phone: +1 908 582-2262; fax: +1 908 582-5809