Hi!
I have a question related to this topic:
http://groups.google.com/group/tiddlywiki/browse_thread/thread/a9b3273198c0ddfd?pli=1

My link (contained in the NewButtons tiddler) for creating a new
tiddler with parameters is like this:

Name: <<option txtNewProjectTaskForm>>
Email: <<option txtEmailDomain>> <<option chkPersistEmailDomain>>
Persist e-mail domain across sessions
Displayorder: <<option txtNewProjectTaskFormDisplayorder>>
 <<clickify newTiddler
   label:'New project task form'
        tag:{{'PMaC form ProjectTask'}}
        fields:{{config.options.txtNewProjectTaskFormDisplayorder}}
        title:
{{'formProjectTask_'+config.options.txtNewProjectTaskForm}}
        text:
{{store.getTiddlerText('formProjectTaskTemplate').replace(/TASKNAME/g,
config.options.txtNewProjectTaskForm).replace(/EMAILDOMAIN/g,
config.options.txtEmailDomain)}}>>

It works like a charm, however, I would like to clear out the fields,
either after the new tiddler is created or at least after the tiddly
is refreshed (onload). Also, I would like to be able to persist the
txtEmailDomain option between refreshes (as indicated by the
chkPersistEmailDomain checkbox).
So I created a mySettings tiddler tagged with systemConfig and wrote
in the following:

if (config.options.txtNewProjectTaskForm != null)
        config.options.txtNewProjectTaskForm == null;
if (config.options.chkPersistEmailDomain == false)
        config.options.txtEmailDomain == null;
if (config.options.txtNewProjectTaskFormDisplayorder != null)
        config.options.txtNewProjectTaskFormDisplayorder == null;

Unfortunately, it doesn't work. What am I missing?

-- 
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