Hello,

I don't seem to be able to set a control's default value from $DefaultUnsetPageTextVars, when either the source page does not exist, or the PTV is not defined on the source page: (When the PTV is defined on the source page, the control's default value is set as expected.)

(:input default source=Main.DataPage:)
(:input text name=$:ptv:)

If either the source page does not exist, or the PTV is not defined on the source page, I have to use the following code: (This sets the control's default value from $DefaultUnsetPageTextVars as expected.)

(:input default {$:ptv} Main.DataPage$:{$:ptv}:)
(:input text name={$:ptv}:)

Is there something I have not understood about (:input default source=...:) + $DefaultUnsetPageTextVars, or have I stumbled upon a bug?

Cheers :o)
Johnny :o)


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to