joomla 2.5 User registration validation and custom message..

1,182 views
Skip to first unread message

sathyashrayan

unread,
Sep 11, 2012, 4:36:30 AM9/11/12
to joomla-de...@googlegroups.com
Group,
  This is very simple yet i really dont know how to do it. I have installed a fresh joomla 2.5. Then i went to create new user below the loggin part. I simple click the submit button. Since no filed has been filled out i get a red border highlighted. But what i want is the message from the language file, that has been called in the jform .xml in the model of com_user  folder. I also want the same thing when the user plugin enabled for extra filed. Any help or links?

sathyashrayan

unread,
Sep 12, 2012, 12:58:59 AM9/12/12
to joomla-de...@googlegroups.com

Any help?

Adam Rifat

unread,
Sep 12, 2012, 4:57:04 AM9/12/12
to joomla-de...@googlegroups.com
One way to modify the form would be to add a user profile plugin. That way you would be able to modify the form before it is rendered. 

Alternatively, you could perhaps think about overriding the default user registration form template using the template overrides. That perhaps would allow you to also modify the JForm object there before the html is output.

You could also look at overriding some of the CSS and Javascript by adding a new css file to your template.
Reply all
Reply to author
Forward
0 new messages