[pmwiki-users] Powertools: Serialname questions
Hans
design5 at softflow.co.uk
Thu Jan 28 07:59:26 CST 2010
Thursday, January 28, 2010, 11:10:14 AM, Graham Archer wrote:
> 1/ Is it possible to increase the 4 digit numbering provided by serialname?
> If so how would I make serialname have 00000 i.e five digits instead of
> four?
To start off with five digit numbers just set
$SerialStart = '00001'
before including powertools.php.
In any case, even with the default start of '0001',
numbers can increase beyond 9999, I think.
But I may be wrong, have not tested this in a while.
> 2/ Is it possible to change the group using a input variable from a fox
> form.?
> i.e if the user selects UK or France in a fox form, via
> (:input radio country value=uk:) UK (:input radio country value=France:)
> France
> how can I make serialname act on the group UK or France.
> I tried '{$$(serialname {$$:country} {$$resultspage}-)}':) but this
> doesn't work.
I think this should be
'{$$(serialname {$$country} {$$resultspage}-)}'
as 'country' is your field name.
cheers,
~Hans
More information about the pmwiki-users
mailing list