Hi James

The set widget at the top has only a single line break after it. That means
that the content up to the closing /set widget will be parsed in inline
mode, rather than block mode. Table formatting is a block mode syntax, and
so is only recognised when parsing in block mode.

So, the fix is to add an extra linebreak after the opening set widget.

<$set name="tmpfile" value="$:/temp/new/person"/>

|!First Name |<$edit-text tiddler="$tmpfile$" field="firstname" tag="input"
type="text"/> |
|!Last Name |<$edit-text tiddler="$tmpfile$" field="lastname" tag="input"
type="text"/> |
|!Initials |<$edit-text tiddler="$tmpfile$" field="initials" tag="input"
type="text"/> |

<<new tiddler macro...>>

Best wishes

Jeremy

On Tue, Oct 21, 2014 at 10:23 AM, James Mars <[email protected]> wrote:

> Hi,
> Could someone please tell me what is wrong with this code.. the
> table/cells formatting is not working. when I take out the "set" line it
> works fine.
>
> <$set name="tmpfile" value="$:/temp/new/person"/>
> |!First Name |<$edit-text tiddler="$tmpfile$" field="firstname"
> tag="input" type="text"/> |
> |!Last Name |<$edit-text tiddler="$tmpfile$" field="lastname" tag="input"
> type="text"/> |
> |!Initials |<$edit-text tiddler="$tmpfile$" field="initials" tag="input"
> type="text"/> |
>
> <<new tiddler macro...>>
>
> Thank you.
>
> James
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to