You need to sign in to do that
Don't have an account?
sunny@99-chg
Problem With Command Button
Hai,
In my vfpage I have One Textbox and Two Commandbuttons as button1 ans button2.
Afetr entering the Text in Textbox And Click on Button1,My functionality is working Fine.
When I enter Text in textbox and press Enter key from Keyboard..The Button2 action is performing,Here I need to work the Button1 Functionality.
How to do this,Can Anyone Suggest me...
This behaviour is browser specific AFAIR - take a look at the solution I posted on this thread:
http://boards.developerforce.com/t5/Visualforce-Development/Enter-key-on-VF-Page/td-p/199787
this basically intercepts the enter key and clicks the preferred button using javascript.
All Answers
Can you share your existing code here?
This behaviour is browser specific AFAIR - take a look at the solution I posted on this thread:
http://boards.developerforce.com/t5/Visualforce-Development/Enter-key-on-VF-Page/td-p/199787
this basically intercepts the enter key and clicks the preferred button using javascript.
Thanks Bob,
Its working Fine