Hi,

I've (more or less) gone through the tutorial. I've managed to get  
validation errors appearing properly on a separate page. Now I would  
like the validation errors to appear within the form itself. I've made  
some headway:

- The form is now submitted to the same url as the post + comments.

- The view called is the same regardless of read/write action (not  
sure if this is a great idea...)

- The form is refilled with the submitted values after submission.

- If there are errors in the form, the comments are not added to the  
database.

*However* there are issues:

- No errors are shown in the form when there should be. I'm thinking I  
should do something in the global_filers.xml file, but I don't know  
what.

- If there no errors are in the form, the form seems to submitted  
successfully: all the comments, including the new one, are shown below  
the form. However, the form is still refilled with the submitted data.  
I would like the form to be as it was on original viewing of the page  
(just as specified in the template), but maybe with a "Comment  
successfull" message.

How could these issues be solved?

Sorry if I'm not giving the relevant information here: at the moment  
I'm not sure what would be most helpful.

Michal.

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to