VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: gangofone on February 12, 2020, 15:55:17 PM

Title: Custom fields validation - server side
Post by: gangofone on February 12, 2020, 15:55:17 PM
Hi everybody,

I've succesfully created a few shopper field ("custom" field type) in order to collect another user data.
I need to validate this field according to some specific rules: when using "register and checkout" mode, i've seen that's "plgVmOnBeforeUserfieldDataSave" method I could use for this purpose. What if using "Checkout as guest"? I didn't found a way to intercept a plugin event in order to validate this field. Any suggestion? Thanks in advance
Augusto

VirtueMart 3.6.10 10211
Joomla! 3.9.15 Stable