Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Validation

09-18-2009, 01:09 PM
# 1 (permalink)
chrissimkins
Hi there

this module is great and I've managed to style is nicely with my site. However, I have one important question.

How can I get the module to validate the forms when they are submitted? At the moment, if I enter the wrong password or username then nothing happens. Also, nothing happens if I do not enter a required field in the registration form.

I've noticed that there is a nice solution to this on the demo site. Is there a way for me to implement a similar method on my site?

Many thanks in advance

Chris
09-18-2009, 01:11 PM
# 2 (permalink)
neo
you are missing

<!-- messages -->
<jdoc:include type="message" />
<!-- end messages -->

in your template index.html
09-18-2009, 03:15 PM
# 3 (permalink)
chrissimkins
Great, thanks for your quick reply. That's sorted the login form.

Sorry for making that dumb mistake, I'm tying to build a template from scratch to keep it clean, but missed that vital bit of detail.

It hasn't changed anything on the registration form though. From the demo and can see that the labels should change colour and that this is controlled by some javascript - but for some reason nothing is changing on my site. Is there something else obvious I am missing? Or could it have something to do with me styling the labels using CSS?

Thanks for your help.
09-18-2009, 03:16 PM
# 4 (permalink)
neo
yes add this to head or right under <head> tag

<jdoc:include type="head" />
<?php JHTML::_('behavior.mootools'); ?>
09-18-2009, 03:58 PM
# 5 (permalink)
chrissimkins
Thanks for your quick reply.

Sorry, that doesn't seem to have done anything.

Any other thoughts?
10-28-2012, 09:25 PM
# 6 (permalink)
SimpleName
Quote:
Originally Posted by chrissimkins
Thanks for your quick reply.

Sorry, that doesn't seem to have done anything.

Any other thoughts?

You need to add:

Code:

.invalid {
   color: #F00;
}
to the stylesheet.css in your YJ Pop Login module.


I know that it's been three years since a previous post was written , but the module has not yet been specified style to highlight incorrectly entered fields when registering a new user.
Thread Tools
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Members Login

Username
Password