Hello everyone,
I’m working on a TiddlyWiki project for a children’s welfare association, and I’ve encountered a technical challenge that I hope to overcome with your help.
Context: I’ve designed a user interface in TiddlyWiki that allows educators to enter daily activity notes about the children. Part of the interface includes a dropdown list (<select>
) that displays the names of the children (referred to as “person” in my code). Currently, this list is statically populated with a few predefined names.
Goal: I aim to allow users to dynamically add new children’s names to this list, without manually editing the tiddler each time. Ideally, a user would simply type a new name into an input field, press an “Add” button, and then see that name appear in the dropdown list for future use.
Challenge: I’m unsure of the best approach to accomplish this in TiddlyWiki. I’ve tried using $action-sendmessage
to add names to a specific tiddler that serves as the source for the dropdown list, but I’m struggling to refresh the dropdown list once a new name is added.
Do you have any suggestions or code examples on how to implement this feature? Any advice or pointers to resources, plugins, or custom widgets that might help would be greatly appreciated.
Thank you very much for your time and assistance!
Best regards,