[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] ValidateRM and Template problem


On Fri, 8 Apr 2005, Sean Davis <suppressed> wrote:

On Apr 8, 2005, at 3:47 PM, RA Jones wrote:

Having got C:A working with Template.pm and CGI::FormBuilder, my next
task is to get C:A:ValidateRM working. Integrating a working example
(http://mark.stosberg.com/Tech/perl/form-validation/) into my
application, I find it works OK if I use HTML::Template in
form_display(), but not if I use Template. Submitting a form which
should fail validation still loads the 'success' page:


Just curious, but do you need ValidateRM if you are running FormBuilder? It does its own server-side and client side validation and fills in the form if for some reason validation fails, if I'm not mistaken?
It does indeed, but at this stage I want to try different 'tools' that I think are relevant, and select the best ones for each task. From what I have seen of FormBuilder and ValidateRM they both have advantages - FB's client-side javascript is very useful, but ValidateRM's seems more flexible in handling errors in the template - if I can get that part working!.
--
Richard Jones
Leeds, UK
mailto:suppressed

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.