You need to sign in to do that
Don't have an account?
Holly Stephens 2
if a check box on a screen is true, another checkbox is marked true on the same screen
I need to mark a check box true when another check box is marked true on the same screen is a visual flow. is that possible? what would the formula be?
Do you want if the checkbox X is checked on record then another checkbox (Y) should be checked by it self on same record?
If yes then you can follow the steps below & you don't need Visual-workflow for it.
1) Create a formula field on record named Y and set retrun type as checkbox.
2) set formuls as: IF( X__c = TRUE, TRUE, FALSE)
I am assuming that you already have field X created.
if it is in the record, you can use a formula field where you can use the "IF(ISPICKVAL(customfield__c, 'No'), False, IF(ISPICKVAL(customfield__c, 'Yes'), True, IF(...))) (ASSUMING you may not require just "yes/no")
more simple: IF(ISPICKVAL(customfield__c, 'Yes', True, False))
if it is in a visualforce, you can use a rerender for the outputpanel where the sencond checkbox is.
https://resources.docs.salesforce.com/sfdc/pdf/workbook_flow.pdf
If you have used the flow designer like below for your visualflow screen, you can solve your problem with jQuey.
You need some javasript code and an embedded flow into a visualforce page.
https://<your_domain>.visual.force.com/apex/myflowpage should be called instead of /flow/Testflow/30158000000IEbZAAW
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_flows_adding.htm
Below the visualforce page myflowpage which contains the flow Testflow:
Best regards
Alain