Hi,

   - I created a form with a field that accepts a URL like 
   https://www.google.com 
   - I then saved this data against an index
   - With edit / save toggle I then switch to view widget

I was hoping to display the data "https://www.google.com"; as a link but it 
just shows it as plain text.

What do I need to do to make it appear as a link?

\define db() $(currentTiddler)$-db
\define dbformstate() $(currentTiddler)$-formstate


<!-- Editable Form -->

<$reveal type="nomatch" stateTitle=<<dbformstate>> stateIndex="form1" text=
"show">
     <table>
        <tr>
                   <td>
                           <$button type="button" class="btn btn-danger" 
setTitle=<<dbformstate>> setIndex="form1"  setTo="show">Edit</$button>
                           </td>
                  <td>

|thead-success|k
|Title|Value|h
|!URL Field |<$view tiddler=<<db>> index="dt_URI"/>|

                        </td>
          </tr>
  </table>
</$reveal>

<$reveal type="match" stateTitle=<<dbformstate>> stateIndex="form1" text=
"show">
       <table>
        <tr>
                   <td>
                           <$button type="button" class="btn btn-success" 
setTitle=<<dbformstate>> setIndex="form1" setTo="hide">Save</$button>
                   </td>
                  <td>

|thead-danger|k
|Title|Value|h
|!URL Field |<$edit-text tag=input type=url tiddler=<<db>> placeholder=
"https://"; index="dt_URI"/>|

                        </td>
          </tr>
  </table>
</$reveal>



-- 
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/38259a05-219a-403c-8a18-b7c325207fd4o%40googlegroups.com.

Reply via email to