RFC Generic Form Handling

FDolks,

With a view to this bigger solution I am building on top of the prerelease which includes an upgrade to the lookup operator (allows field to be set) I am rebuilding field and field-type handling.

It is quite easy to include an a view field containing;
<$transclude field=<<fieldname>>/>
and edit field containing
<$edit-text field=<<fieldname>> size=20/>

These respond to the mode view/edit on a field, the tiddler or a global mode.

I am interested in also providing an “update” or “click to edit mode”.

  • Basically it used the view mode, then when clicked on uses the edit mode.

Any idea how I could code this update? ideally without a state tiddler?

Any idea how to code this?

<$transclude field=<<fieldname>>/> Then onclick <$edit-text field=<<fieldname>> size=20/>