Show/hide variable fields?
Hi, I'm trying to show a field using the field name as a variable
For example, I have a variable showField which currently holds the field named Field_To_Show:
- showField="Field_To_Show";
- if (showField=="Field_To_Show"){
- show Field_To_Show;}
But I would prefer to just have:
- showField="Field_To_Show";
- show showField;
Thanks,
Levi