Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Zend 1.12 multiple action buttons on form

Posted on 2014-01-23
3
Medium Priority
?
120 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
2 Comments
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
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.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

876 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