From: Rob S. <fa...@ra...> - 2002-06-14 08:43:33
|
I ran into a problem simular to this with CONTENT_VAR. (search the archives) Shooting from the hip, I'd say try something like : <MODEL LOOP NAME="blah"> <PKIT_ERRORSPAN NAME="<MODEL_VAR NAME='elementofblah'/>"> <MODEL_VAR NAME="descriptionofblah"/> </PKIT_ERRORSPAN> </MODEL_LOOP> *shrug* Let us know if that works. Rob ----- Original Message ----- From: "Michael Wojcikiewicz" <mi...@pe...> To: <pag...@so...> Sent: Thursday, June 13, 2002 6:04 PM Subject: [Pagekit-devel] using PKIT_ERRORSPAN dynamically with MODEL_VARs > Im working on a site that creates some dynamic forms, and would like the > pkit_validate_input to report any errors on the form as well.. so i have > something like this in my template: > > <MODEL LOOP NAME="blah"> > <PKIT_ERRORSPAN NAME="<MODEL_VAR NAME="elementofblah"/>"> > <MODEL_VAR NAME="descriptionofblah"/> > </PKIT_ERRORSPAN> > </MODEL_LOOP> > > but when i look at the source of the output HTML, the <PKIT_ERRORSPAN> > tags remain rather than being parsed by pagekit... is there a way to > report errors dynamically like that? > > [ Mike Wojcikiewicz mi...@pe... ] > [ Perl Developer - Perl Pimps http://www.perlpimps.com ] > > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > Pagekit-devel mailing list > Pag...@li... > https://lists.sourceforge.net/lists/listinfo/pagekit-devel > |