You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Neal Kaiser <ne...@makeastore.com> on 2001/02/14 04:07:51 UTC

Getting Form Names

I am using the struts validation framework
(http://home.earthlink.net/~dwinterfeldt/) but I have a problem because most
of my forms are multiple-page forms.

There is a syntax where you can say if a field is required or not in the
framework.  However, even though a field is required, it might be on the
second page of the form.

So I am wondering if it is possible to get a String array (or something)
from the Struts framework that will list all of the form names (i.e
<html:text property="something">).  That way I can extend the validation
framework to make sure the field is present before checking if it is
required.

Thanks,

Neal