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:
   https://groups.google.com/forum/#!topic/tiddlywiki/n5zItAWIZFw
and I provided a work-around solution:
   https://groups.google.com/d/msg/tiddlywiki/n5zItAWIZFw/T4ZHA5mTAAAJ
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0365c5da-f28e-4f57-835e-7e08956326afo%40googlegroups.com.

Reply via email to