Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

J-Cook V2.0: Field information showed immediately 10 Sep 2012 06:16 #3462

When adding a new record, the field information is direclty showed for text fields in the item view. See image, information showed with green backgroud. I think this should only be showed when the focus is in the field.

Molenwal1 Webdesign
www.molenwal1.nl

Please Log in or Create an account to join the conversation.

Last edit: by molenwal1.

Re: J-Cook V2.0: Field information showed immediately 14 Sep 2012 11:20 #3615

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
This is defined by the javascript jQuery validator.

There is also an issue there :
- The Arrow is missing and it is confusing
- When error, the arrow is still missing (on red box)

2 solutions :
- Ask the developper to fix that (I cannot do it for the moment)
- Bypass it and show the informations somewhere else in the field

TODO (second solution) :
- edit classes/jformfield.php
- Add a special treatment that receive the validatorMsg params, and design a HTML / CSS inside.

Placing it there, this call will be instancied for each fields
This is the reason why every single field type added in your component MUST be inherited from your class file (no direct use of native Joomla fields). Well, you can do what you want, but you will not be able to use the validators (JS) features.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.080 seconds

Let me first state that this is an amazing and fascinating product exactly what I was looking for. In just a few hours (listening to the very well made and clearly understandable videos learning doing) I completed and installed my first component. I am now in the second refining phase. I will make a recommenation in JED. Thanks for the effort in creating such a great product. Incidentally some of the best Joomla extension I use are of French origin !
Giori (Forum)

Get Started