I have a form and my plan is to set all the fields (using DynaActionForm)
when an ok 'button' is pressed, the problem is, I'm not using a 'submit'
action to submit it, but an image, the code I have at the moment is:

<html:form action="/addNewScope">

..... lots of other code here

<a onclick ??? (What goes here) ????
    onMouseOver="SwapImage('ok','../../images/button_ok_over.png');"
    onMouseDown="SwapImage('ok','../../images/button_ok_click.png');"
    onMouseOut="SwapImage('ok','../../images/button_ok.png');"
    onMouseUp="SwapImage('ok','../../images/button_ok_over.png');">
    <img name="ok" src="../../images/button_ok.png" border="0" width="42"
height="23">
</a>

..... more code here

</html:form>

basically, I want the action in the form (addNewScope) to be submited when I
do onclick (where the question marks are).  I don't want to use Javascript,
I want call the action...  I have done this before using <html:submit> but
this is not what I'm trying to achieve here.

I think I might be confused... :-/

regards

Leticia


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to