An Issue With Editing Tidder Content

I am looking for some advice on how to cater for this situation.

I have a tiddler that has several user defined fields and then of course the text ‘field’. Some of the user fields are used as links to other tiddlers, similar to wikitext links.

Now I need to provide an editing environment wherein a user can edit both user defined fields as well as the text field. I know I can do this using the in-built editor but I have a complication, I need to verify changes to some user defined fields (ie. make sure it is not empty, or is not just one or more spaces, the link is valid, etc) as well as for some valid changes, update fields in other tiddlers that use the contents in a compound content element.

The built in editor will handle the editing itself but not the verification as I can not determine when a change has been made ready for verification. Also I can not see how I can add a call-out to the √ element, say call a procedure to do the verification etc. Similarly for the cursor leaving a text box, I can not see how to call a function on that event.

I can and have, set up an edit template so the user can change various user defined fields but the text fields is too large for such an interface plus it can contain images, etc.

How have others approached this situation in a coherent manner?

bobj

I only have the opportunity to give a short answer now, however you may be able to switch from validation to selection from a set of valid values. you can for example have a filter to the select widget.

I did research some serious validation in the past but perhaps you could share the details of what kind of data and validation rules you dream of?

typically in the text editor for the text field we select or include valid content using editor tools. such as values or titles via a filter.