Wednesday, December 18, 2013

Re: Display Errors

Look first to the underlying HTML.

Does that show each field in a consistent order. i,e label, field, error message.

If so, and most likely if the fields are being displayed in the default fashion, then there might be some CSS that is rearranging the error message to be before the field for the Academic merit field.

However, if the underlying HTML has label, error message, field for the Academic merit field, then you need to look for the code that is outputting that field. Either it's like that because the application/view makes it like that, or perhaps that's how CakePHP places error messages for select fields.

I'm at home, and don't have access to the code base to check, but that is where I would look first.

Regards
Reuben Helms

On Wednesday, 18 December 2013 08:23:48 UTC+10, advantage+ wrote:

I have attached an image for the first time so maybe it will help.

 

I just noticed the select errors are above the select yet the rest of the errors appear below where they should be. Well I really do not care above or below…., but they must line up for the sake of appearance.

This just looks like crap all jagged.

 

Any ideas how / why / fix this?

 

Thanks all,

Dave

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: