Problem displaying fields in tiddler

53 views
Skip to first unread message

Rob Jopling

unread,
Jul 3, 2020, 5:04:59 PM7/3/20
to TiddlyWiki
A rookie problem I expect, but why are the fields are not displaying as i expected.
I would like the contents of field1 to appear to the right of the text field1 with field2 on the next line, etc
And why is field1 edit box displaying bigger than the one for field2?


Saq Imtiaz

unread,
Jul 3, 2020, 5:13:20 PM7/3/20
to TiddlyWiki
Close your tags
<edit-text ..... />

Robert Jopling

unread,
Jul 3, 2020, 5:17:54 PM7/3/20
to tiddl...@googlegroups.com
OMG I said it was a rookie problem!

Thanks Saq


On Fri, 3 Jul 2020, 22:13 Saq Imtiaz, <saq.i...@gmail.com> wrote:
Close your tags
<edit-text ..... />

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8b7ff640-0ede-4860-876b-3dee43ecf169o%40googlegroups.com.

Eric Shulman

unread,
Jul 3, 2020, 5:21:44 PM7/3/20
to tiddl...@googlegroups.com
You forgot to use /> at the end of each <$edit-text ... /> widget.
You also need to put a <br> following each, so that they will be on separate lines.

Thus:
this is field1: <$edit-text field="field1"/><br>
this is field2: <$edit-text field="field2"/><br>


Note: the above will still have a problem: due to the TWCore refresh handling,
you can't use <$edit-text> to modify a field in the same tiddler as the edit field.
What happens is that as soon as you type a character into the edit field, the
tiddler it is contained in is automatically refreshed, and the edit field loses
the input focus.  The result is that you can only enter one letter at a time.

This was discussed recently here:
and I provided a work-around solution:
that involves using a temporary tiddler to hold the input while you type, and then
you press an "ok" button to copy that input into the desired "target" field.

-e

Robert Jopling

unread,
Jul 4, 2020, 3:58:50 AM7/4/20
to tiddl...@googlegroups.com
Many thanks Eric

I discovered the issue with editing fields in the same tiddler.

I do not really want to do that anyway. Was just playing around.

Thanks for pointing me to the solution.


On Fri, 3 Jul 2020, 22:21 Eric Shulman, <elsd...@gmail.com> wrote:
On Friday, July 3, 2020 at 2:04:59 PM UTC-7, Rob Jopling wrote:
A rookie problem I expect, but why are the fields are not displaying as i expected.
I would like the contents of field1 to appear to the right of the text field1 with field2 on the next line, etc
And why is field1 edit box displaying bigger than the one for field2?

You forgot to use "/> at the end of each <$edit-text ... /> widget.
You also need to put a <br> following each, so that they will be on separate lines.

Thus:
this is field1: <$edit-text field="field1"/><br>
this is field2: <$edit-text field="field2"/><br>

Note: the above will still have a problem: due to the TWCore refresh handling,
you can't use <$edit-text> to modify a field in the same tiddler as the edit field.
What happens is that as soon as you type a character into the edit edit, the
tiddler it is contained in is automatically refreshed, and the edit field loses
the input focus.  The result is that you can only enter one letter at a time.

This was discussed recently here:
and I provided a work-around solution:
that involves using a temporary tiddler to hold the input while you type, and then
you press an "ok" button to copy that input into the desired "target" field.

-e

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages