You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mallik <ma...@yahoo.com> on 2005/04/20 19:49:02 UTC

Dynamic/on the fly Form fields

Hi,
I have a situation where I need to create a form fields based on the user
selection in the previous form.
For example, in the first form user selects the Departments from multi
selection box and when this form is submitted, I have to show some x number of
form fields for every department selected in the previous page. 
generally we have to specify the form fields in the configuration.xml file in
advance. 
Is there any way I can create on the fly dynamic form fields?? if so how?

Thanks,
Mallik


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Dynamic/on the fly Form fields

Posted by Hubert Rabago <hr...@gmail.com>.
If the issue is dynamically adding fields to a form, take a look at Lazy Forms:
http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html

If the issue is dynamically sized form fields, take a look at the
links I just sent a minute ago:
http://marc.theaimsgroup.com/?l=struts-user&m=111402299804677&w=2

hth,
Hubert

On 4/20/05, Mallik <ma...@yahoo.com> wrote:
> Hi,
> I have a situation where I need to create a form fields based on the user
> selection in the previous form.
> For example, in the first form user selects the Departments from multi
> selection box and when this form is submitted, I have to show some x number of
> form fields for every department selected in the previous page.
> generally we have to specify the form fields in the configuration.xml file in
> advance.
> Is there any way I can create on the fly dynamic form fields?? if so how?
> 
> Thanks,
> Mallik
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org