Advertisement

05.05.2008 at 08:45AM PDT, ID: 23376730
[x]
Attachment Details

How can i modify my form so that there is only 1 submit button, thats displayed conditionally?

Asked by Daniish in Web Languages/Standards, Hypertext Markup Language (HTML), PHP Scripting Language

Tags: PHP, HTML, Firefox 2.0, www.globexposure.net/edit_form/search_poi.php

Hello,

I am building a form that can be used for both adding new records to my database and editing existing ones. At present i have this almost working, however, at the end of the form i have 2 submit buttons:
www.globexposure.net/edit_form/search_poi.php

Really there should only ever be one submit button, which changes depending on whether the <input name='search' > has been used. If it has then only the 'Update POI' submit should be shown.... How is this done?


Many thanksStart Free Trial
[+][-]05.05.2008 at 10:21AM PDT, ID: 21501466

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.05.2008 at 01:49PM PDT, ID: 21502888

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Web Languages/Standards, Hypertext Markup Language (HTML), PHP Scripting Language
Tags: PHP, HTML, Firefox 2.0, www.globexposure.net/edit_form/search_poi.php
Sign Up Now!
Solution Provided By: hielo
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.05.2008 at 02:02PM PDT, ID: 21502979

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.06.2008 at 01:18AM PDT, ID: 21505555

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628