Solved

Zend 1.12 multiple action buttons on form

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

Accepted Solution

by:
Ray Paseur earned 500 total points
Comment Utility
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
Comment Utility
Yes of course. i will read your article. Thank you very much.
Kind regards
LC
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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.
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 purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now