Solved

Zend 1.12 multiple action buttons on form

Posted on 2014-01-23
3
91 Views
Last Modified: 2016-05-17
Hi everyone.
I use a Jquery derived component named floatbox to enter data via Zend forms.  The form has one submit button that inserts or updates data after entering or editing data from a table.
Suppose that I want to have different actions with different submit buttons (or some surrogate of it). Example a button to submit and write data in the DB a second one that updates the DB and opens another floatbox of a different table in order to enter data for the next table of a integrated data entering process.
Best regards
LC
0
Comment
Question by:luciliacoelho
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39806423
Is the question, "Can I have more than one submit button?"  If so, the answer is "Yes, of course!"  A submit button is just another HTML form input control.  You can have as many of them as you want inside a form -- whatever makes sense for your application.

In this article, look for "The client gets a chance to confirm any deletions" to see how multiple submit buttons are used.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_12335-PHP-and-MySQLi-Table-Maintenance.html
0
 

Author Comment

by:luciliacoelho
ID: 39811955
Yes of course. i will read your article. Thank you very much.
Kind regards
LC
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question