Hello
A Page Type has the following TextFields:
$Section1Heading
$Section2Heading
$Section3Heading
$Section4Heading
$Section5Heading
I want to be able to display the values of these fields in a template once they have been converted to lowercase and has all non-alphanumeric characters converted to hyphens.
So "What We Do" becomes "what-we-do" - and can be displayed in the template as such. This is so the converted string can be used as a div id for navigation purposes.
I can think of a number of different approaches but not sure which one to take.
Is there a correct or recommended approach for this sort of thing?