423,336 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,336 IT Pros & Developers. It's quick & easy.

How to get values in multiple checkbox?

P: 1
Can you please help me how to get the multiple values of checkbox.


Expand|Select|Wrap|Line Numbers
  1. @Html.Label("Revision of Records:")<br />
  2. @Html.CheckBox("Change Address", new { @class = "appType", @id = "ChangeAddress", @onclick = "clkChangeAddress()", @name = "nRevRecords" })  Change Address<br />
  3. @Html.CheckBox("Change Civil Status", new { @class = "appType", @id = "ChangeCivilStatus", @onclick = "clkChangeCivilStatus()", @name = "nRevRecords" }) Change Civil Status<br />
  4. @Html.CheckBox("Change Name", new { @class = "appType", @id = "ChangeName", @onclick = "clkChangeName()", @name = "nRevRecords" }) Change Name<br />
  5. @Html.CheckBox("Change Date of Birth", new { @class = "appType", @id = "ChangeDateBirth", @onclick = "clkChangeDateBirth()", @name = "nRevRecords" })  Change Date of Birth<br />
  6. @Html.CheckBox("Others", new { id = "ChkBoxOthers", @class = "appType", @onclick = "clkOthers()" })  Others <br />
  7.  
Jul 9 '18 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.