Hi Deepa,

I am not sure if I understood well what you are trying to achieve. You have a drop down. Value selected in the drop down will go as a form field once you submit the form. This value can be collected in the Groovy script. I do not see a way how you can get some thing in Groovy script without submitting the form. If you want to do some thing on selection of drop down, you can use JavaScript events such as onChange and then you can fire a Ajax request whenever value of the drop down changes.

Thanks,

Raj

Deepa Mandal wrote:
Following is my problem:
I have a drop down in a form and upon selecting a value from this drop down
I have to send contactMechId of that particular value to the included ftl in
the form and *without submitting the form*. If I set the contactMechId in
groovy or in request then I can get this in the included ftl, please suggest
other way through which I can get the contactMechId in groovy or in request.


Reply via email to