Users Pricing

forum

Home Forums multiple textboxes for one field – MindStick

multiple textboxes for one field

Anonymous User 2568 31 Jan 2014

If I have 3 text boxes for 3 field which need to be appended together, how would you go about doing this?

for example:

@Html.TextBoxFor(model => model.PhoneNumber, new { @id = "PhoneNumber1"})

@Html.TextBoxFor(model => model.PhoneNumber, new { @id = "PhoneNumber2"})

@Html.TextBoxFor(model => model.PhoneNumber, new { @id = "PhoneNumber3"})

but when I call model.PhoneNumber in the controller, I only get the first text box value.


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md