Recently I have stumbled upon a situation in Joomla 3.4 where I need to add a custom field attached with default registration form.
I surfed the existing resources which say that I should navigate to joomla_root/components/com_users/models/forms/registration.xml and then change the file accordingly.
I have done that but nothing is showing up. By changing code in xml files its shows the chagnes on front end and back end as well but problem is this that were to write its php code. Thank you