Hi;

I want to to submit a Form by a link or a button that don't belong to that Form, the idea is that I have 2 Forms in a page, one is a client details Form and the other is a ListView with a Form to add Contact Info to that client. I want to add a button (link) in the bottom of the page that say save that will save the whole client object and redirect to another page, what I want to do is to submit that form when this link is clicked.

<form wicket:id="clientDetails">
.
.
.
</form>

<form wicket:id="contacts">
.
.
.
</form>

<input type="submit" class="formButton" value="   Save   " wicket:id="lnk_save"/>

So the idea is to submit the form clientDetails with the  button lnk_save. hope it's doable ;)

--
Regards, Ali

Reply via email to