Array notation help
Hopefully this is a straightforward one for somebody!
I've got a form that has a looped section. I'm currently trying to display this on the action page.
This works
#form["add" & i & "Desc"]#
as it should.
I've also got another section where I'm processing the date then want to display it as below:
#dateFormat("# add#i#bookingDate #", "yyyy-mm-dd")# (spacing added for clarity)
which obviously doesn't work. I want to format the date as shown using date add#i#bookingDate. This section is in a loop, index i.
I'm guessing I need to change this to something like the working example above but what do I replace form with? can I just put
<h1># ["add" & i & "bookingDate"] #</h1>
Thanks
Michael
