Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

checkbox problem

LEGEND ,
Oct 12, 2006 Oct 12, 2006

Copy link to clipboard

Copied

i have a checkbox, shown below

<asp:checkbox Checked="false" ID="chkTelephoned" Vaule="Yes" runat="server"
Text="Telephoned" TextAlign="right" ToolTip="Please check here if client
Telephoned" />

when we click on the submit button it runs code to send an email and is
formatted into a table with the relevant information, the problem i am
having is that all the checkboxes show "on" when they are checked, this does
not make sense for the staff receiving the email and i would like to change
it to "yes" instead of on, is there a way to do this

code for the email side

strBody = strBody & "<tr><td><b>Telephoned:</b></td>"
strBody = strBody & "<td>"
strBody = strBody & Trim(Request.Form("chkTelephoned"))

any help would really be appreciated

thank you


TOPICS
Server side applications

Views

234
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 12, 2006 Oct 12, 2006

Copy link to clipboard

Copied

LATEST
Click on the one of the checked boxes and then under properties change check vaue to what you want it to say.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines