cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: Forms styling: showing required OR validation symbols
Date Fri, 03 Sep 2004 12:10:44 GMT
Wolfgang

I tried this and, while the <footer> <p> showed
up, the <header> did not ?? 

Also, is there any way to eitehr (a) disable the list
of errors or (b) make them "linkable" to the fields
they refer to on the form (using the # notation)

Thanks
Derek


>>> wk@tpso.com 2004/09/03 01:48:11 PM >>>
Derek Hohls wrote:

>Thanks Jorge - that works well... next question
>then is if there is any quick way to alert a user
>as to when there is an error anywhere in a form;
>a message could then be displayed alterting him
>to the fact (say, at the top of the form) and that
>he should look for field/s with the "!!" mark and
>make corrections as needed.
>
>Thanks
>Derek
>  
>
That's really easy,

In your form template file you can put the following
<fi:validation-errors>
   <header><p>Please correct errors! Look at fields marked with
!!</p></header>
   <footer><p>Send your Form again./p></footer>
</fi:validation-errors>

If you put this at top of your page it give you the Field's and the
Errormessages before the form.

Wolfgang
in your 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
For additional commands, e-mail: users-help@cocoon.apache.org 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message