tags:

views:

11

answers:

1

I have the following code:

<%int count = 0; %>
<input type="checkbox"  name="Name["'<%count++;%>'"]" />

The name isnt being rendered as expected, its being rendered as name="IssueCreate["''"]" />

How can I correct that?

A: 

You need to change <% %> to <%= %> to output the result of the expression.

Also, why are you using both types of quotes in IssueCreate["''"]?

Charlie Somerville