L7.2-How to hide screen,suffix,prefix registration form use properties

thumbnail
Kiran Yalavali, modified 5 Years ago. Regular Member Posts: 175 Join Date: 10/15/14 Recent Posts
Hi All,
Currently using Liferay 7.2, How to disable/hide screen name, prefix, suffix and captcha fields for registration form using portal-ext.properties file.
Thanks,
Kiran.
thumbnail
Mohammed Yasin, modified 5 Years ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts
Hi ,
For removing screens you can add below property in portal-ext.properties
users.screen.name.always.autogenerate=true
For removing captcha -  You can add the config file in osgi->configs folder  with following file  name and content 

file name  = com.liferay.captcha.configuration.CaptchaConfiguration.config
content  -  createAccountCaptchaEnabled="false"
thumbnail
Kiran Yalavali, modified 5 Years ago. Regular Member Posts: 175 Join Date: 10/15/14 Recent Posts
Thank you, Yasin, for your reply, I added this content createAccountCaptchaEnabled="false" on that file captcha is disabled on create account form but a same requirement in forgot password form to disable the captcha field.
How to disable the captcha field in the forgot password form.
Thanks,
Kiran.
thumbnail
Mohammed Yasin, modified 5 Years ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts
You can add  below property in config file
sendPasswordCaptchaEnabled="false"
thumbnail
Kiran Yalavali, modified 5 Years ago. Regular Member Posts: 175 Join Date: 10/15/14 Recent Posts
Thank you Yasin, 
It is working perfectly.