You need to sign in to do that
Don't have an account?

Handling a the page Navigation with javascript in visual force
Hi All ,
Say the are two picklists A and B and two visual force pages 1 and 2 . Page 1 consists of Next button and page two consists of Back button
I was trying to enable a picklist B on page1 when i click on back command button on page2 using javascript. But the picklistB in which i am trying to enable is enabled or disabled based on the other picklistA values in the page 1 itself. So when i was trying to move forward from page 1 to 2 i am able to succeed , but when i am trying to move backward the picklist B value is getting locked (disabled) which should not happen .
Could any one possibly help me with how to handle with your valuable suggestions .
Thanks
Preetham SFDC
Say the are two picklists A and B and two visual force pages 1 and 2 . Page 1 consists of Next button and page two consists of Back button
I was trying to enable a picklist B on page1 when i click on back command button on page2 using javascript. But the picklistB in which i am trying to enable is enabled or disabled based on the other picklistA values in the page 1 itself. So when i was trying to move forward from page 1 to 2 i am able to succeed , but when i am trying to move backward the picklist B value is getting locked (disabled) which should not happen .
Could any one possibly help me with how to handle with your valuable suggestions .
Thanks
Preetham SFDC
You might format the url like these:
Then in Page1 controller, you get picklist values for picklistA and picklistB and bind them to Page1 apex controls.
Hope this helps.