Old Nick
Well-known member
This is my settings :
ID :
Format parameters :
Data type :
Default value :
Array sub-options :
So if I check the box to activate the numeric field and I enter 20 as the value how to use this value 20 in a template?
With a classic field I know the syntax :
But as I have defined an array how can I get out of it? Should I first say that the box is checked and then put the value? What's the syntax for that?
Thank you for your help.
ID :
gmValue
Format parameters :
Code:
onoff=enabled
value=limit
min=0
default=0
type=spinbox
step=10
array
Default value :
{"enabled":"0","limit":"0"}
Array sub-options :
Code:
enable
limit
So if I check the box to activate the numeric field and I enter 20 as the value how to use this value 20 in a template?
With a classic field I know the syntax :
Code:
{$user.trophy_points|number} >= '$xf.options.gmValue'
Thank you for your help.