How to create a single button to add different fields or field values to a tiddler in multiple sequential steps

Here is an “unpublished” package of what I have called a “more tiddler actions” button dropdown. It introduces a ViewToolbar button with a drop down that then transcludes the tiddlers with the tag $:/tags/more-ViewToolbar.

  • This is unpublished because it is intended to be cloneable to make more similar buttons and thus deserved a higher quality of testing and documentation if to be published. And to be honest its part of my personal rapid development tools.
  • buttons-more-tiddler-actions.json (11.5 KB)
  • What you would do with this is create another tiddler with the $:/tags/more-ViewToolbar tag, containing your conditional items to appear in the dropdown, similar to the below example.

I have also included a single tiddler with the above tag that displays different items in the dropdown menu according to various conditions, as an example start-end-date handling.json (4.4 KB)

  • It is my first proof of concept for the more general solution of adding and changing fields on tiddlers.
  • It handles addition, stamping and deletion of start-date and end-date fields
  • It uses the existence of an empty start-date field as one state, and one stamped with a date as another. ie when empty it needs to be started, stamped it has started at this date and time.

If you find it difficult to make use of (As it was intended to be cloned into a new dropdown as needed ) ask, and I will generate a custom button for you to use (rather than the above package) and you can be a gunnie pig with a request for feedback from me.

  • otherwise see what you can extract