From: Anthony E. <me...@an...> - 2004-03-20 21:17:02
|
FormElements are retrieved from a FormConfiguration object, with FormConfiguration being an interface. Even though FormProc currently only comes with an XMLFormConfiguration implementation you could easily implement an alternative FormConfiguration class which allows you to add more elements at runtime by extending from the AbstractFormConfiguration class as needed. I'm going to add a basic in-memory implementation of FormConfiguration in the next version. Sincerely, Anthony Eden ba...@ro... wrote: >Is there a way in the API to add fileds to be validated? > >I'm building part of a form on the fly, and have (x) number of repeating >fields, that I'd like to validate, but don't know how many, or their names >up front (well, I set their names). > >I figured I could read the form xml in, add the nodes I need, and pass >that to the FormManager.. but didn't know if there was a more elegant way. > >Thanks, > >Barrie > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >FormProc-developer mailing list >For...@li... >https://lists.sourceforge.net/lists/listinfo/formproc-developer > > |