The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Validation PHP Code in Setting
This is driving me nuts.
Does anyone know how to use the Validation PHP Code box in a product setting? I have a setting field as positive integer which I want to check if the size is in between 32 and 100. If this returns false, I want to set a default value to be used in the product. Would I have to initiate a plugin for this or is there an easy way to validate its size? Example: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|