Confirm mechanism

Hi all,

I want to make a simple multi-purpose event logger on my mobile phone. The idea is that I can select an event type from a list, f.i. with radio buttons, and then confirm. The app will then make a tiddler with a time stamp and the event type, for later analysis.
It’s the confirm I am puzzling about. I do not want the confirm to happen by one button tap, in order to prevent accidental confirms that I then have to roll back. But I also do not like confirmation dialogs. Any ideas? What mechanisms does TW have for this purpose?

At this moment I use Tiddloid Lite.

Greetings,
Sjaak

the reveal widget can solve your problem :
https://tiddlywiki.com/#RevealWidget

Create a button “Confirm” that control the reveal (in tiddler or as popup).
Then put the true button that will register the data inside this reveal.

edit : In case you prefer an example, here is a skeleton code :

<$button popup="$:/DataValidation">Register data</$button>
<$reveal type="popup" state="$:/DataValidation">
  <div class="tc-drop-down">
    Are you sure ?
    <$button >CONFIRM
      <!-- your actions for the button -->
    </$button>
  </div>
</$reveal>
1 Like