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

Visual force page req
Hi All,
I have created a VF page called Promotion .
I have a dropdown list Planned,In progress, Completed and Aborted in Promotion page
Now I have twofew requirnment:
Req-1
The dropdown stage move one by one like
1)Planned -->Inprogress
2)In progress--> Completed or Aborted
Req-2
If I select stage Completed or Aborted then all the the field become read only.
user should not edit the record. Since we have selected stage as Completed and Aborted.
Request your help .
Thanks,
Manish
I have created a VF page called Promotion .
I have a dropdown list Planned,In progress, Completed and Aborted in Promotion page
Now I have twofew requirnment:
Req-1
The dropdown stage move one by one like
1)Planned -->Inprogress
2)In progress--> Completed or Aborted
Req-2
If I select stage Completed or Aborted then all the the field become read only.
user should not edit the record. Since we have selected stage as Completed and Aborted.
Request your help .
Thanks,
Manish
OnChange event of Picklist -- call method n controller using actionSupport.
have some boolean variable called flag.
if(picklistvalue==inprogress-planned)
flag=true;
else
flag=false;
now refresh the pageblock. if flag is false render outputfield.. if flag is true, render inputfield