You need to sign in to do that
Don't have an account?
Rajiv B 3
Autopopulate custom field upon selecting picklist value
Custom picklist field Called Status__C in Case object.
Requirment:
Once user select Status__C field value as Rejected need custom field called Rejected__Reason__C should auto populate next to Status__C to enter rejected reason.
How to achieve this??
can we have any out of box functionality ??
need any code development ??
Thanks in advance
Requirment:
Once user select Status__C field value as Rejected need custom field called Rejected__Reason__C should auto populate next to Status__C to enter rejected reason.
How to achieve this??
can we have any out of box functionality ??
need any code development ??
Thanks in advance
From Setup, you go to Status field. Under Field Dependency, click New and select Rejected Reason field. Once selected, click continue and you have the option to select Reject reason value right under Rejected and then click Include Values and then save the same.
Then go to Rejected Reason field through Setup, select "Restrict picklist to the values defined in the value set" checkbox under General option. Also, under controlling field option choose Status.
By doing the same, Rejected Reason field will be active only when Status "Rejected" is selected, for every other option it will remain greyed out.
All Answers
Use the validation rule to populate the error on Rejected__Reason__C field .
IF( ISPICKVAL(Status, 'Escalated'),Description = null , false)
Regards
Shivdeep
Thanks Shivdeep for your response ..
does this validation rule will auto populate the rejected reason when only onces user s slect status as Rejected ..
actully Rejected_Reason__C shuould not display on User interface/Detailpage/edit since before user select Status as Rejected
From Setup, you go to Status field. Under Field Dependency, click New and select Rejected Reason field. Once selected, click continue and you have the option to select Reject reason value right under Rejected and then click Include Values and then save the same.
Then go to Rejected Reason field through Setup, select "Restrict picklist to the values defined in the value set" checkbox under General option. Also, under controlling field option choose Status.
By doing the same, Rejected Reason field will be active only when Status "Rejected" is selected, for every other option it will remain greyed out.
Actually Rejected_Reason__C is a Text field ... where user enter desired descriptioon. Reson is not fiexed.
Can we auto populate Text datatype field with picklist select type...
is there any approach
As per my knowledge goes required functionality is not possible through standard point and click customization. You need to seek assistance of developer for writing code for such requirement. I will try to look for such code from my end, but you can contact developer in meantime.
Regards
Chetan