0
Welcome Guest! Login
0 items Join Now

Email validation

    • Musa's Avatar
    • Musa
    • Jr. Rocketeer
    • Posts: 45
    • Thanks: 0

    Email validation

    Posted 13 years 11 months ago
    • Hello.

      I'm a bit concerned that there's no email validation on some of the latest Joomla templates (Tachyon, Mercado, Nebulae, etc.). On some earlier templates, I've had to adjust the error message so that it would stand out, but on these latest ones there's not even an error message to adjust. The best validation of all is simply where the relevant fields in the contact form are highlighted or outlined in red.

      I think your templates are superb, but just a real shame that this is not taken into consideration. :?

      Please advise.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Email validation

    Posted 13 years 11 months ago
    • The system messages are styled so i'm not sure what you mean.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • Musa's Avatar
    • Musa
    • Jr. Rocketeer
    • Posts: 45
    • Thanks: 0

    Re: Email validation

    Posted 13 years 11 months ago
    • It's simple. Go to the demo of (say) Nebulae ( demo.rockettheme.com/?template=nebulae ) and on the contact page click send without filing in any of the fields. Now there should be an error message asking you to fill in the fields. If you fill in the fields correctly, you get a confirmation message that the email has been sent.

      Check here as well for maybe there's no email associated with the demo page above: vn.ajk-webdesign.net/ . Same predicament - filled in shows a confirmation message, but if clicked without filling in then no error message shown.

      It's not a matter of styling - as mentioned before, I did change the styling to suit on earlier templates - but the error message does not even show.

      Regards.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Email validation

    Posted 13 years 11 months ago
    • I'm not sure if there's something special about the contact forum but the styling works if you click on the login button with no real login details.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • Musa's Avatar
    • Musa
    • Jr. Rocketeer
    • Posts: 45
    • Thanks: 0

    Re: Email validation

    Posted 13 years 11 months ago
    • Hello.

      Thanks for replying - the invalid login attempt is a good example of what I mean. So similarly, if the contact form is not validated then an error message should be generated. Check the following as an example - just click send and you'll see the validation kick in by simply highlighting the 'required' fields to be filled in:
      www.madlovegame.com/home/index.php?optio...tact&id=3&Itemid=169

      I hope this helps explain what I mean. Does the Nebulae template (and others) not have any validation on contact page form?

      Regards.
  • Re: Email validation

    Posted 13 years 11 months ago
    • You may try this. Edit your template.css at:
      <Joomla Root>/templates/<your template name>/css/template.css

      At the end of the lines, add below codes:
      .invalid {color: #f00 !important;}
      input.invalid, textarea.invalid {border: 1px solid #f00 !important;}
    • Musa's Avatar
    • Musa
    • Jr. Rocketeer
    • Posts: 45
    • Thanks: 0

    Re: Email validation

    Posted 13 years 11 months ago
    • Thanks for your suggestion. :D
  • Re: Email validation

    Posted 13 years 11 months ago
    • The features you are describing are processed by 3rd party extensions. They are not contained within the core Joomla modules (or any templates I'm aware of). It would be impossible for RT to code their templates for all extensions.

      The one you used as an illustration is based on the Recaptcha plugin which is freely available to the public. You can read more about it here. http://www.google.com/recaptcha

      There are many others which are easily found by searching the extensions at Joomla using the keyword "authentication." Styling needs will vary dependent upon the extension.

      I'm posting a link to get you going in your search: http://extensions.joomla.org/search?q=authentication

      Hope this helps you.
      Carol
    • Musa's Avatar
    • Musa
    • Jr. Rocketeer
    • Posts: 45
    • Thanks: 0

    Re: Email validation

    Posted 13 years 11 months ago
  • Re: Email validation

    Posted 13 years 11 months ago
    • Hello Musa,

      Yes, the template is missing the css style for the ".invalid" class for the label and input. You may use my suggested css above to make it works similar like the 2 links you mentioned. (Label turns to be red when nothing is submitted)

Time to create page: 0.065 seconds