[xFv]
Well-known member
Hello!
I am new to learning arrays and I need a little advice on using a on/off checkbox with textbox option.
I know to use an array because I looked at options that call for this.
Say if I have a option ID of ''footer_copyright" and in the options, I list the type as ''On/Off Checkbox with Text",
this is what I have in format parameters:
.
And if Default Values:
.
And in Array Sub options:
.
And the Validation callbacks are empty as they are in the option that I am following from.
I can get the word "array" printed to the screen where I need the copyright to display, but thats it.
Is there something I am missing, like a php file with an array in it?
Any Help is Much Appreciated!
I am new to learning arrays and I need a little advice on using a on/off checkbox with textbox option.
I know to use an array because I looked at options that call for this.
Say if I have a option ID of ''footer_copyright" and in the options, I list the type as ''On/Off Checkbox with Text",
this is what I have in format parameters:
Code:
onoff=enabled
value=copyright
And if Default Values:
Code:
{"enabled":"","copyright":""}
And in Array Sub options:
Code:
enabled
copyright
And the Validation callbacks are empty as they are in the option that I am following from.
I can get the word "array" printed to the screen where I need the copyright to display, but thats it.
Is there something I am missing, like a php file with an array in it?
Any Help is Much Appreciated!
Last edited: