Hello everyone,
I have a table, and I'm trying to save the result of the user type into a variable called user_type_result. However, my if statement doesn't seem to be working correctly when checking user_type_result.
I've been trying to figure out what’s wrong but haven’t had any luck. Any help would be greatly appreciated!
Thanks in advance.
if(${no_user_type_required} = 'No user type required', 'No user type required',
if(${you_need_the_viewer_usertype} = 'You need the Viewer Usertype', 'You need the Viewer Usertype',
if(${you_need_the_contributor_userty} = 'You need the Contributor Usertype', 'You need the Contributor Usertype',
if(${you_need_the_mobile_worker_user} = 'You need the Mobile Worker Usertype', 'You need the Mobile Worker Usertype',
if(${you_need_the_creator_usertype} = 'You need the Creator Usertype', 'You need the Creator Usertype',
if(${you_need_the_professional_usert} = 'You need the Professional Usertype', 'You need the Professional Usertype',
if(${you_need_the_professional_plus} = 'You need the Professional Plus Usertype', 'You need the Professional Plus Usertype',
'')))))))
| text | no_user_type_required | No user type required |
| text | you_need_the_viewer_usertype | You need the Viewer Usertype |
| text | you_need_the_contributor_userty | You need the Contributor Usertype |
| text | you_need_the_mobile_worker_user | You need the Mobile Worker Usertype |
| text | you_need_the_creator_usertype | You need the Creator Usertype |
| text | you_need_the_professional_usert | You need the Professional Usertype |
| text | you_need_the_professional_plus | You need the Professional Plus Usertype |
| | | |
| text | user_type_result | user type result |