Skip to main content
Amy Blankenship
Legend
November 2, 2012
Question

How to see ASP/VBScript variable names inline

  • November 2, 2012
  • 1 reply
  • 935 views

When you use an ASP output in a form control (like <%=Submit_Button_Label%>), you can easily see on the page what you've done. This doesn't work for ASP outputs in the rest of the page--all you see are "ASP" graphics all over the place.

I'm in the process of externalizing all of the text on our ASP pages to variables for translation, and my choices seem to be having a completely unreadable page (where there are just a bunch of ASP labels and not much else) or using a structure like

<% If False Then 'so we can find it easily on the page, leave the original text

    %>

                    I accept and agree to abide by the Terms of Use

                    and Privacy Policy.

    <% Else %><%= TOS_Prompt %><% End If %>

so I can at least find things.

Is there a third option?

Thanks in advance!

Message was edited by: Amy Blankenship

This topic has been closed for replies.

1 reply

Amy Blankenship
Legend
November 5, 2012

How bout those crickets?