Nigel McNie - 2008-01-03

Logged In: YES
user_id=1083971
Originator: YES

Given the new AHAH way of doing jsforms, this actually becomes quite trivial. Each element just needs to export how it should be drawn when the form is readonly - which in many cases may simply be returning $element['defaultvalue'].

There are some complications though:

* What mode are forms in by default?
* How do you switch modes?
* What mode is the form in after editing?
* What happens to fieldsets?