I would like to be able to open up a tiddler without having to view it
in edit mode because my tiddly is for forms and opening a new tiddler
in edit mode is pointless.  There is only one place I have found such
an ability and it's from http://www.tiddly-twab.com. He has created
his tiddlywiki in such a way that when <<twab>> is in the
SideBarOptions it displays the text 'new contact'. Upon clicking that
link, you are given a pop-up prompt asking for the title of the new
tiddler.  After entering in the title, you hit 'OK' and it opens up a
specified tiddler in view mode titled with your requested title and
you can proceed to fill out the form fields.

The code below I believe is part of the code for the prompt, but I
don't quite know enough to know if there is more to it than that or
not.  Either way, what I would like to know is if there could possibly
be any way that I could add something so that it also asks for text to
be put in the tag area in the same prompt.

I have tried putting something like var tags = prompt("Please enter
tag text", ""); in a couple different ways with the below code, but it
has no effect.  I even went so far as to change "Please enter
contact's name" to "Please type in contact's name" but it had no
effect on the prompt either. Assuming what I want to do is possible,
am I doing something wrong or am I missing something?

   var title = prompt("Please enter contact's name", "");
   if( (title == null) || (title == "") ){
      return;
   }//if

Any help would be appreciated.

Thanks,

jen

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to