I have created one 'test' text customer attribute. I have added input field on frontend customer register form. I can able to save this attribute value by override createPost.php from my custom module.
But I think this is not proper way to save value by override controller. There is any way to save customer attribute using plugin or observer?
Best Answer
You can do this by observer.
SR/StackExchange/etc/frontend/events.xml
SR/StackExchange/Observer/CustomerRegisterSuccess.php
NB: here 'customer_number' is custom attribute