Hello,
I have a form that incorporates many forms into 1 and based on a selection made in a dropdown, certain fields are visible. So, I have created a seperate submit button for each of the forms, but the problem is that it isn't submitting when clicked. I have 6 submit buttons, but only 1 RealEmail button. can all 6 fake email buttons reference the same RealEmail button, or does there have to be 6 individually named RealEmail buttons for the form to submit? Here is the code that I am using for the Fake email buttons (the only variation in the code is a different email address on each of the buttons):
if
(CSRFirstName.rawValue != null){
RealEmail.event__click.submit.target
="mailto:" + "someone@somewhere.com" + "?subject=Some Subject" +PaxName.rawValue +
" Order#" + Order.rawValue;
RealEmail.execEvent("click");
}
else {
app.alert("Please enter your first and last name!");
}
Thanks in advance for any insight into this problem...