i want only numeric value enter in textbox, i am using this way but doesnt work
@Html.TextBoxFor(i => i.pincode, new { @placeholder = "Pincode", @class = "txt-small", @maxlength = 6, @type = "number" })
i want only numeric value enter in textbox, i am using this way but doesnt work
@Html.TextBoxFor(i => i.pincode, new { @placeholder = "Pincode", @class = "txt-small", @maxlength = 6, @type = "number" })
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Guest UserPosted May 5, 2022, 11:48 AM
Jignesh KumarPosted May 5, 2022, 11:15 AM
Amit MohantyPosted May 5, 2022, 9:46 AM
Hey, if you want pincode validation try this
Guest UserPosted May 5, 2022, 9:41 AM
Jignesh KumarPosted May 5, 2022, 8:46 AM