Hi,
I need to prevent editing some custom fields after registration from the buyer.
In details, in registration form i've added a user field that allows buyer to select the typology of customer (private or company). If the field is set read-only, in the registration form the buyer can select the value, but VM can not save it in user information. If the field is not read-only, the buyer can select the value during registration but at same time can change it in profile editing too. Well, I need this field can be selected during registration, but it must not be modified in profile.
At the moment I solved with a jQuery script, but I would like to solve this enigma with a more secure method.
How can i do this?
Thanks in advantage.
VirteMart 3.2.14, Joomla! 3.8.8