Hello I have been doing research and still trying to figure how to check if
a check box is checked

This is what I have but it doesn't work.. I think the values are not passed

myDimensions = []
    if session.browser and session.browser == "on":
        myDimensions.append("browser")
    myMetrics = []
    if session.pageviews and session.pageviews == "on":
        myMetrics.append("pageviews")
    if session.newVisits and session.newVisits == "on":
        myMetrics.append("newVisits")


Any idea how to check for a value in a check box

Cheers

Andrew

Reply via email to