News:

Support the VirtueMart project and become a member

Main Menu

Custom fields validation - server side

Started by gangofone, February 12, 2020, 15:55:17 PM

Previous topic - Next topic

gangofone

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