May 13th, 2009, 7:32 PM
Just a couple smarty questions (where I'm using show_submissions on a website):
1. *important and easy* How do you call a specific value from one column? I'm trying to colour code my table so that the colour is based on one of the responses in the form. I've devised a system in my css of styling the <td>'s with different classes, named for the same options from my form. All I need is a smarty command to go here: <td class="{value of one particular field}">
2. *somewhat important but probably difficult* I'd like to have separate tables and headings for each region of my form fillers. One option on my form is region, so I'd like to see the page look like this:
Region 1
Person Email Date
Person Email Date
Person Email Date
Region 2
Person Email Date
Person Email Date
Person Email Date
Is this possible?
Thanks a lot!
(PS Coincidentally, I'm eating smarties right now)
1. *important and easy* How do you call a specific value from one column? I'm trying to colour code my table so that the colour is based on one of the responses in the form. I've devised a system in my css of styling the <td>'s with different classes, named for the same options from my form. All I need is a smarty command to go here: <td class="{value of one particular field}">
2. *somewhat important but probably difficult* I'd like to have separate tables and headings for each region of my form fillers. One option on my form is region, so I'd like to see the page look like this:
Region 1
Person Email Date
Person Email Date
Person Email Date
Region 2
Person Email Date
Person Email Date
Person Email Date
Is this possible?
Thanks a lot!
(PS Coincidentally, I'm eating smarties right now)