Mike Payton

Greenhorn
+ Follow
since Aug 06, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mike Payton

Thank you.Bear Bibeault
11 years ago
So I should take out the inside form and can call the same action ?
11 years ago
I have an if condition, Based on that I need to generate a popup for printing some PDFs.

Here is the code

<HTML:form action="action.do" >
<% if(condition()) {%>
<span>
<input type="button" onclick="javascript:cancel1()" property="" Class = "bSwan" tabindex="7" value="Cancel" />
<input type="button" id="submit" property="" Class = "bSwan" tabindex="7" value="save" />
<div id="pay_dialog" title="Dialog Title">

<form id="auth_form">
<input type="button" value="Print Authorization Form" id="printpdf" property="" Class = "bSwan" tabindex="7" />
<input type="submit" value="Submit" id="submit_form" property="" Class = "bSwan" tabindex="7" />
</form>
</div>
</span>
<%}else{%>
<span>
<input type="button" onclick="javascript:cancel1()" property="" Class = "bSwan" tabindex="7" value="Cancel" />


<html:submit property="" styleClass = "bSwan" onclick="" tabindex="7">
<bean:message key="global.button.Save" />
</html:submit>
</span>
<% } %>

</HTML:form>


Can I have <form id="auth_form" action="action.do"> ?

I mean in both the condition I need the same value on form to be submitted to the same action.
11 years ago
What possible option I can have to obtain this
11 years ago
Can we have two nested froms calling the same action?

Is it possible ?
11 years ago