CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 [RESOLVED - Modify form operation]

Print topic Send  topic

Author Message
CodeChargeMVP

Posts: 473
Posted: 02/03/2011, 6:27 AM

hi,

On a normal edit mode record form by default the focus is placed on the delete button,

when our customer has finished modifying a record, press the enter button and then the record

is deleted, the customer expects than when pressing the enter button the record being saved,

obviously I�ve think to take out the focus from the delete button and take the focus in the update

button, but what�s my surprise that this is not the solution because when clicking enter the record still being deleted �any suggestion?

Thank you for your time.





_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
datadoit
Posted: 02/03/2011, 7:35 AM

You'll need to do one of two things... Either physically place the
Submit button before all of the other buttons, or go through all of the
components on the page and specify a 'tabindex' value, sequentially
making the Submit button a lower value than the Delete button.

The 'Make Default Button' client-side action will not work in all browsers.
CodeChargeMVP

Posts: 473
Posted: 02/04/2011, 1:33 AM

Ok,

the tabindex value didn�t worked out, so I had to place the save button on the html code before than the delete button.

I tryed to use the make default button option but I didn�t realise than some code were added
so it didn�t work.

As always thank you for the right answer.

Quote datadoit:
You'll need to do one of two things... Either physically place the
Submit button before all of the other buttons, or go through all of the
components on the page and specify a 'tabindex' value, sequentially
making the Submit button a lower value than the Delete button.

The 'Make Default Button' client-side action will not work in all browsers.

_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
ckroon

Posts: 869
Posted: 02/04/2011, 9:48 AM

DATA rocks.
He and Wasp are the lifeblood of the board.
_________________
Walter Kempees...you are dearly missed.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.