In my Leads module, I have a checkbox for Logo and I want to show/hide an upload box based on if the checkbox is checked or not. How do I accomplish this?
In my Leads module, I have a checkbox for Logo and I want to show/hide an upload box based on if the checkbox is checked or not. How do I accomplish this?
Hi Mike Wagner,
Here is an example:
1. In Studio > Notes > Fields, I created a new custom checkbox field called attach_c
2. I edited the filename field, checking Dependent and entering the variable for the $attach_c field.
3. I added the checkbox to the layout just above the dependent field.
4. Here is the RecordView with the checkbox unchecked:
5. Here is the RecordView with the checkbox checked:
Note: The field variable works in this context without using other functions because the output of a checkbox is boolean, and the dependent calculation requires a boolean output.
I hope this helps!
I want to keep all the fields hidden except for the checkbox until an option PayGOnline is selected but have been unable to do so. Now some of the same fields should appear under the different options. When a field only needs to appear for one option.
I want to keep all the fields hidden except for the checkbox until an option PayGOnline is selected but have been unable to do so. Now some of the same fields should appear under the different options. When a field only needs to appear for one option.