Need help with Styling form Validation |
[eluser]vincej[/eluser]
Hi - I have uncovered a curious situation. I can easily style the validation_errors() this way: Code: echo "<span class='validation'>".validation_errors()."</span>"; However, if I attempt to style form_error() inthe same way, Code: echo "<span class='validation'>". form_error('Email'). "</span>"; the styling is ignored. In fact the span does not even wrap around the error mssage ! The rendered source code ends up looking like this: Code: <p> I must be doing something really stupid - but I can't see it - Many Many Thanks for any ideas ! Cheers ! |
Welcome Guest, Not a member yet? Register Sign In |