| Issue 277: | formIndicator is can't work in meltiple submit emelement | |
| 6 people starred this issue and may be notified of changes. | Back to list |
formIndicator: 'nyroModal'
is rewrite the submit element to nyroModal, if the form have multiple submits:
<?php
if(isset($_POST['sender']))
{
......
}
elseif(isset($_POST['submiter'])){
......
}
?>
Jul 8, 2009
Project Member
#1
nyro...@gmail.com
Jul 9, 2009
Any news about this issue?
Jul 9, 2009
<form action="processor.php" method="post" class="nyroModal">
<input type="submit" name="sender" id="Ssubmiter" value="send" />
<input type="submit" name="submiter" id="Rsubmiter" value="submit" />
</form>
<?php
if(isset($_POST['sender'])){
......
}
elseif(isset($_POST['submiter'])){
......
}
?>
the $_POST['sender'] and $_POST['submiter'], is be rewrite to nyroModal.
formIndicator: 'nyroModal'
Aug 4, 2009
We have the same problem here. We need to capture what button was pressed on. It looks like NyroModal does a submit on the form itself directly so the button that was pressed is lost. Is there anyway to capture the button that was pressed and get its value put into the form submit?
Aug 9, 2009
I need to investigate how can I do that.
Status:
Accepted
Labels: Type-Enhancement
Apr 17, 2010
Issue 427 has been merged into this issue.
Jun 30, 2010
I have same problem !?
Oct 26, 2010
Any update on this issue?
Aug 18, 2011
any update on this issue? |