Button linked to If Condition, based on Dynamic Content

Hi there! I’m working on customizing a site for my law firm, and I needed a little guidance. I have a dynamic page for Frequently Asked Questions for various topics under different practice areas (i.e. questions about Wills, under the umbrella topic of Estate Planning). What I’m trying to do, is have a sort of “back button”.

What I want to have happen, is if I’m viewing the page, and the FAQs are under the umbrella “Estate Planning”, whether the topic is “Wills” or “Trusts” or “Powers of Attorney”, I’d like the button to take you back to the menu page for “Estate Planning” (a static page with a unique url).

I’ve been trying to create a function (without much luck) with and if/if else condition. I want the condition to be if the page is populated with questions under the umbrella topic “Estate Planning”, then the button will take you back to the Estate Planning menu page. If the page is populated with the umbrella topic of “Estate and Trust Administration”, then the button takes you back to that menu page.

I hope I’ve explained that clearly, and if not, please let me know. Any help you can provide would be so deeply appreciated! Thanks!!

Hey,
How have you created the FAQs? Have you used an app or simply a text element? Can you please send the site so that we can have a look?

Basically, you should createThanks,
Tal.