留言板

How to hide the Screen Name field from CreateAccount form in liferay 7 ?

lokesh gorrela,修改在7 年前。

How to hide the Screen Name field from CreateAccount form in liferay 7 ?

Regular Member 帖子: 173 加入日期: 16-3-9 最近的帖子
Hi guys
I want to hide the "screen name" field in createaccount.jsp.Here i put the comment of screen name related code.After that i filled the form and click on submit button, but form is not submitted. I think this is because of validation for screen name but i am unable to find the screen name validation location. Any one knows about this please give replay. See the below screen shorts for understanding my problem.
thumbnail
David H Nebinger,修改在7 年前。

RE: How to hide the Screen Name field from CreateAccount form in liferay 7

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Have you tried setting users.screen.name.always.autogenerate=true?







Come meet me at the LSNA!
lokesh gorrela,修改在7 年前。

RE: How to hide the Screen Name field from CreateAccount form in liferay 7

Regular Member 帖子: 173 加入日期: 16-3-9 最近的帖子
Hello David
Thanks for your replay
I did not setting this users.screen.name.always.autogenerate=true

I don't know where to set this property. Colud you please tell to me where to set this property.

Regards
Lokesh
thumbnail
Mohammad Danish,修改在7 年前。

RE: How to hide the Screen Name field from CreateAccount form in liferay 7

Regular Member 帖子: 187 加入日期: 12-3-5 最近的帖子
This can be set in portal-ext.properties