Solved

Zend 1.12 multiple action buttons on form

Posted on 2014-01-23
3
87 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
3 Comments
 
LVL 109

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

856 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