I'm working on a content fragment which has several single line, multi-line and binary inputs. One example of a single line input, I've named title. In my HTML, I'm able to access the title value like this:
Current HTML: ${fragment.elements[0].value}
This works, but it's not the best method if I want to change the content fragment order later in any way. Is there a way to access the value of my title input some other way?
Example: ${fragment.elements.title.value} or ${fragment.elements["title"].value}
So far everything I've tried doesn't work and I can't seem to find any other way of getting this to work.