XenForo
Administrative
- Thread starter
- Admin
- #1
Hi experts,
I've the following validation class defined in one of the addon options

And inside this function, I'm attempting to get the value of another optionId

So is possible to get what its value is in the aforementioned callback function?
PHP:
Read more
ادامه مطلب...
I've the following validation class defined in one of the addon options

And inside this function, I'm attempting to get the value of another optionId

So is possible to get what its value is in the aforementioned callback function?
PHP:
Code:
public static function checkFoo(&$value, \XF\Entity\Option $option, $optionId)
{
/*
if(genMulFirst == 'somevalue')
{
then go ahead and perform some validation for $value
}
*/...
Read more
ادامه مطلب...