You need to sign in to do that
Don't have an account?
Blue Sky.ax1539
Check box and Text box field dependency
Hi,
I have a field with check box. If it is ticked, then the user has to fill the text box, else not required.
How can I configure it ?
Your help needed.
Regards,
Blue
Text Field: Name__c
ChecklBox: D3__c
Create a validation rule -
AND(ISBLANK(Name__c), D3__c =true)
If the Checkbox is ticked and user doesn't enter anything in textfield, user will get a error. if checkbox is not ticked, it doesn't matter if user enter anything in textfield or not.
To create the validation rule, go to the object and click 'New' under the Validation Rule section. Enter the Rule Name, enter the formula I have highlighted above (make sure to replace Name__c and D3__c with your field names), enter the Error message, and Save.
All Answers
You can use a validation rule as if checkbox is true and textbox is null throw a validation error.
Hi,
I am not able to understand how to do?
if possible could you please elaborate more...
Text Field: Name__c
ChecklBox: D3__c
Create a validation rule -
AND(ISBLANK(Name__c), D3__c =true)
If the Checkbox is ticked and user doesn't enter anything in textfield, user will get a error. if checkbox is not ticked, it doesn't matter if user enter anything in textfield or not.
To create the validation rule, go to the object and click 'New' under the Validation Rule section. Enter the Rule Name, enter the formula I have highlighted above (make sure to replace Name__c and D3__c with your field names), enter the Error message, and Save.
Thanks, it was a fantastic solution... hats off.
I want when I click checkbox then textbox become visible.
in another word, textbox becomes dependent on the checkbox, how I achieve it.