The pieces
Which would look something like...
| Name |
Type |
Size |
Values |
Tooltip |
Attributes |
| Foo |
mydata+input1 |
|
|
editable |
|
| Bar |
mydata+input2 |
|
|
editable |
|
| AutoFoo? |
mydata+response1 |
|
|
read-only, populated automatically based on inputs... |
|
| AutoBar? |
mydata+response2 |
|
|
" |
|
| AutoCat? |
mydata+response3 |
|
|
" |
|
Foswiki::Form::Mydata
A custom
Foswiki::Form type created at
lib/Foswiki/Form/Mydata.pm
- Calls Foswiki::Func::addToZone() to add javascript to the page, and produces an HTML form element appropriately decorated for the javascript to recognise
- This javascript would detect changes in the editable fields, and update the read-only fields
Foswiki::Plugins::MyPlugin
A plugin (see
EmptyPlugin? for an example) which consists of at least
lib/Foswiki/Plugins/MyPlugin.pm