Form Creator

143 views
Skip to first unread message

slke

unread,
Jan 8, 2017, 3:15:13 AM1/8/17
to TiddlyWiki
Hi, I would like to know if there is an existing plugin/tiddler that allows me to create a form. Either TW5 or TW Classic is fine. I will need the form to have logical conditioning, i.e. if I select a certain radio button/checkbox, a particular field will be disabled/greyed-out.

Separately, for TW5, I found a plugin that allows me to password protect individual tiddlers but it prevents it from being read. Is there any way to password protect specific tiddlers such that the single tiddler cannot be edited? I don't really care if it is not secure. 

My first query takes precedence! Let me know if TW is not the right app for this. It is for completely desktop based offline browser use.

Jed Carty

unread,
Jan 8, 2017, 7:20:36 AM1/8/17
to TiddlyWiki
I keep planning on making a from creator like you are talking about but I haven't gotten around to it yet. It is possible but it may be a significant amount of work to make a generic form creator. It is much simpler to just make each form as you need it.

And for the second part, if you don't care about security you can just add a tag or field that removes the edit button from tiddlers you don't want users to edit. Someone has a guide to adding css based on tags that explains how to do it.

So the answer to both of your questions in that it is possible but I don't know if anyone has made the things to do it yet.

Mat

unread,
Jan 12, 2017, 9:05:03 AM1/12/17
to TiddlyWiki
Maybe something in

http://configsfields.tiddlyspot.com/

can be used.


Separately, for TW5, I found a plugin that allows me to password protect individual tiddlers but it prevents it from being read. Is there any way to password protect specific tiddlers such that the single tiddler cannot be edited? I don't really care if it is not secure. 

Not password protected but you can hide the edit button, by tagging the tiddler with a certain tag, e.g "noedit" and then make a stylesheet tiddler like so

title: $:/mystylesheet
tags: $:/
tags/Stylesheet
text
:
.tc-tagged-noedit .tc-image-edit-button {display:none;}

Note that you, yourself, will also not access the edit button then. But if you edit the stylesheet you'll get it back, and you can relatively easily make a toggle using my just released toggle macro to set the values "none" and "inline" in some field and then have that last line instead read

.tc-tagged-noedit .tc-image-edit-button {display:{{yourtoggletarget}}; }

Note you must also set the type of the stylesheet tiddler (i.e the dropdown just below the editor field) to be for TW5, in order for the stylesheet to understand this.


<:-)
Reply all
Reply to author
Forward
0 new messages