[Standards-JIG] new <remember/> element for Data Forms
hildjj at gmail.com
Mon Jan 9 07:03:29 UTC 2006
Yes, it seems like clients could implement this without any protocol
changes. Basically, you could do the same thing that a web browser
does when it auto-fills HTML forms. Use the JEP-68 field names in
combination with the JID/node of the target to uniquely identify the
fields. Make sure NOT to save hidden fields...
On Jan 9, 2006, at 4:22 AM, Pete Birkinshaw wrote:
> Ian Paterson wrote:
>>> But couldn't that just be done with a boolean field anyway?
>> No because, as things stand, the client wouldn't know that the
>> field had a different function. Even if a special value of the 'var'
>> attribute was defined that flagged the special purpose of the boolean
>> field (yuk), then the client still wouldn't know which fields
>> should be
> Ah, now I understand. I'd assumed that the remembering was going to
> be done by the server or component, which could be done with a
> normal boolean field.
> Could this feature just be added to the client code itself, outside
> the form (the same way Firefox remembers form details) to work with
> all forms?
> Whatever way it's implemented, it's definitely a good idea.
More information about the Standards