Solved

Zend 1.12 multiple action buttons on form

Posted on 2014-01-23
3
83 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How would I do a website like this? 5 56
ebay devID, appID, certID, userToken 2 27
PHP AJAX JSON 2 61
Is there a simpler dropbox system? 10 20
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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…

773 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